Skip to contentSkip to conversation

Why INSTALL_PATH is not /boot by default?

DISCUSSION Blaisorblade 5 participants 9 messages Nov 16, 2004 – Dec 3, 2004

lore
Share & tools
lore
#0 lore raw

This line, in the main Makefile, is commented:

export INSTALL_PATH=/boot

Why? It seems pointless, since almost everything has been for ages requiring this settings, and distros' versions of installkernel have been taking an empty INSTALL_PATH as meaning /boot for ages (for instance Mandrake). It's maybe even mandated by the FHS (dunno).

Is there any reason I'm missing?

Signature · 2 lines
Paolo Giarrusso, aka Blaisorblade
Linux registered user n. 292729
#1 lore raw
Quoted 10 lines · Blaisorblade

This line, in the main Makefile, is commented:

export INSTALL_PATH=/boot

Why? It seems pointless, since almost everything has been for ages requiring this settings, and distros' versions of installkernel have been taking an empty INSTALL_PATH as meaning /boot for ages (for instance Mandrake). It's maybe even mandated by the FHS (dunno).

Is there any reason I'm missing?

Changing this may have impact on default behaviour of some versions of installkernel.
If /boot is ok for other than just i386 we can give it a try.

Sam

#2 lore raw
Quoted 8 lines
Quoted 8 lines

This line, in the main Makefile, is commented:

export INSTALL_PATH=/boot

Why? It seems pointless, since almost everything has been for ages requiring this settings, and distros' versions of installkernel have been taking an empty INSTALL_PATH as meaning /boot for ages (for instance Mandrake). It's maybe even mandated by the FHS (dunno).

FHS says that the kernel image can be in either / or /boot. However, older 386' require that extra partition below 1024 cyls.
Plus, I am of the opinion that there should not be any files in / (incircumventable exception are quota files); ls -l already shows 57 entries for this machine's root dir.

Quoted 1 line

If /boot is ok for other than just i386 we can give it a try.

boot is always ok given that you copy the kernel from the source tree to <your favorite destination> by hand.

Jan Engelhardt

Signature · 2 lines
Gesellschaft für Wissenschaftliche Datenverarbeitung
Am Fassberg, 37077 Göttingen, www.gwdg.de
#3 lore raw
In reply to Sam Ravnborg
Quoted 6 lines · Sam Ravnborg
Quoted 4 lines · Blaisorblade

This line, in the main Makefile, is commented:

export INSTALL_PATH=/boot

Quoted 9 lines
Quoted 3 lines

Why? It seems pointless, since almost everything has been for ages requiring this settings, and distros' versions of installkernel have been taking an empty INSTALL_PATH as meaning /boot for ages (for instance Mandrake). It's maybe even mandated by the FHS (dunno).

Is there any reason I'm missing?

Changing this may have impact on default behaviour of some versions of installkernel.
If /boot is ok for other than just i386 we can give it a try.

Please note that there are cases where you build a kernel for machine x on machine y. Which means: don't unconditionally uncomment this line.

Signature · 1 line
Andreas Steinmetz                       SPAMmers use [email protected]
#4 lore raw
Quoted 15 lines · Andreas Steinmetz
Quoted 14 lines · Sam Ravnborg
Quoted 10 lines · Blaisorblade

This line, in the main Makefile, is commented:

export INSTALL_PATH=/boot

Why? It seems pointless, since almost everything has been for ages requiring this settings, and distros' versions of installkernel have been taking an empty INSTALL_PATH as meaning /boot for ages (for instance Mandrake). It's maybe even mandated by the FHS (dunno).

Is there any reason I'm missing?

Quoted 8 lines
Quoted 4 lines

Changing this may have impact on default behaviour of some versions of installkernel.
If /boot is ok for other than just i386 we can give it a try.

Please note that there are cases where you build a kernel for machine x on machine y. Which means: don't unconditionally uncomment this line.

Huh, in that case wouldn't you just copy the kernel image from the source dir on machine y to whereever it needs to liveon machine x by hand? At least that's what I do, the Makefile and its INSTALL_PATH never comes into play then.

--
Jesper Juhl <[email protected]>

#5 lore raw
Quoted 25 lines · Jesper Juhl
Quoted 22 lines · Andreas Steinmetz
Quoted 19 lines · Sam Ravnborg
Quoted 10 lines · Blaisorblade

This line, in the main Makefile, is commented:

export INSTALL_PATH=/boot

Why? It seems pointless, since almost everything has been for ages requiring this settings, and distros' versions of installkernel have been taking an empty INSTALL_PATH as meaning /boot for ages (for instance Mandrake). It's maybe even mandated by the FHS (dunno).

Is there any reason I'm missing?

Changing this may have impact on default behaviour of some versions of installkernel.
If /boot is ok for other than just i386 we can give it a try.

Quoted 5 lines
Quoted 3 lines

Please note that there are cases where you build a kernel for machine x on machine y. Which means: don't unconditionally uncomment this line.

Huh, in that case wouldn't you just copy the kernel image from the source dir on machine y to whereever it needs to liveon machine x by hand? At least that's what I do, the Makefile and its INSTALL_PATH never comes into play then.

Not if you build different kernels for quite some machines on a build system. It is neat then to use INSTALL_PATH and INSTALL_MOD_PATH to get the build output into target machine related directories for further automated processing. What I just want to say is that, yes, set INSTALL_PATH (and INSTALL_MOD_PATH) whereever you want to point it to - as long as it is not already set.

Signature · 1 line
Andreas Steinmetz                       SPAMmers use [email protected]
#6 lore raw
Quoted 36 lines · Andreas Steinmetz
Quoted 26 lines · Jesper Juhl
Quoted 23 lines · Andreas Steinmetz
Quoted 20 lines · Sam Ravnborg
Quoted 11 lines · Blaisorblade

This line, in the main Makefile, is commented:

export INSTALL_PATH=/boot

Why? It seems pointless, since almost everything has been for ages requiring this settings, and distros' versions of installkernel have been
taking an empty INSTALL_PATH as meaning /boot for ages (for instance Mandrake). It's maybe even mandated by the FHS (dunno).

Is there any reason I'm missing?

Changing this may have impact on default behaviour of some versions of installkernel.
If /boot is ok for other than just i386 we can give it a try.

Quoted 8 lines
Quoted 3 lines

Please note that there are cases where you build a kernel for machine x on machine y. Which means: don't unconditionally uncomment this line.

Huh, in that case wouldn't you just copy the kernel image from the source dir on machine y to whereever it needs to liveon machine x by hand? At least that's what I do, the Makefile and its INSTALL_PATH never comes into play then.

Quoted 6 lines

Not if you build different kernels for quite some machines on a build system. It is neat then to use INSTALL_PATH and INSTALL_MOD_PATH to get the build output into target machine related directories for further automated processing.
What I just want to say is that, yes, set INSTALL_PATH (and INSTALL_MOD_PATH) whereever you want to point it to - as long as it is not already set.

Fair enough, I see your point.

--
Jesper Juhl

#7 lore raw
In reply to Jesper Juhl
Quoted 7 lines · Jesper Juhl

Please note that there are cases where you build a kernel for machine x on

Quoted 2 lines

machine y. Which means: don't unconditionally uncomment this line.

Huh, in that case wouldn't you just copy the kernel image from the source dir on machine y to whereever it needs to liveon machine x by hand? At least that's what I do, the Makefile and its INSTALL_PATH never comes into play then.

In scripting it's much easier to have:
make INSTALL_MOD_PATH=/nfs/frodo/ modules_install
make INSTALL_PATH=/nfs/frodo/ install

And everything 'just works'.

Sam

#8 lore raw
In reply to Sam Ravnborg
Quoted 10 lines · Sam Ravnborg
Quoted 9 lines · Blaisorblade

This line, in the main Makefile, is commented:

export INSTALL_PATH=/boot

Why? It seems pointless, since almost everything has been for ages requiring this settings, and distros' versions of installkernel have been taking an empty INSTALL_PATH as meaning /boot for ages (for instance Mandrake). It's maybe even mandated by the FHS (dunno).

Quoted 5 lines
Quoted 1 line

Is there any reason I'm missing?

Changing this may have impact on default behaviour of some versions of installkernel.
If /boot is ok for other than just i386 we can give it a try.

Sorry for not answering to this.

What I say is *yes*, let's try it.

However, I know that ia64 is different because I read that in Fedora 2 kernel RPM specs:

#
# IA64 wants to be different as usual.. sigh.
#
%ifarch ia64
%define image_install_path boot/efi/EFI/redhat
%else
%define image_install_path boot
%endif

that should be done with a "ARCH_DEFAULT_INSTALL_PATH" set by archs and the main Makefile taking it by default. (Or even without indirection).

Signature · 3 lines
Paolo Giarrusso, aka Blaisorblade
Linux registered user n. 292729
http://www.user-mode-linux.org/~blaisorblade