Why INSTALL_PATH is not /boot by default?
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
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_PATHas 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
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_PATHas 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
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_PATHas 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]
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_PATHas 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]>
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_PATHas 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
Makefileand itsINSTALL_PATHnever 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]
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 emptyINSTALL_PATHas 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
Makefileand itsINSTALL_PATHnever 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_PATHandINSTALL_MOD_PATHto get the build output into target machine related directories for further automated processing.
What I just want to say is that, yes, setINSTALL_PATH(andINSTALL_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
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
Makefileand itsINSTALL_PATHnever 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
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_PATHas 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