Red Hat Bugzilla – Bug 32833
installkernel overrides INSTALL_PATH.
Last modified: 2007-04-18 12:32:20 EDT
From Bugzilla Helper:
User-Agent: Mozilla/4.76 [en] (X11; U; Linux 2.2.18K7 i686)
When you compile your own kernel, installkernel will override the
INSTALL_PATH varable if you run "make install". (Installkernel is
installed as part of the kernel RPM.) Having the new kernel end up in
/boot is fine if you are compiling a new kernel for the current machine,
but it is a problem if you are compiling it for another machine, especialy
if you are building the kernel as root.
Steps to Reproduce:
1.Install a stock kernel.
2.Set INSTALL_PATH to anything except /boot.
3.Run "make install" in the root directory of the kernel source.
Actual Results: The new kernel ends up in /boot.
Expected Results: The new kernel ends up in directory pointed to by
In /sbin/installkernel, change:
if [ -z $INSTALL_PATH ] ; then
bug still present in 7.2 and in 7.3
also, /sbin/installkernel is now owned by mkinitrd and not kernel
fixed for mkinitrd 3.3.12 -- we don't reconfigure the bootloader if
INSTALL_PATH != "/boot" though...