I am using Red Hat's 2.2.19 kernel source package to build custom kernels
under RHL 7.0. The builds get a lot of error messages because
/boot/kernel.h and aliases are malformed.
This file is built by fragile code in /etc/rc.d/rc.sysinit, from line 587
on. The core of the problem is that the code tries to use the output of
"uname -r", and this is changed when I edit EXTRAVERSION in the kernel
This script really needs to be rethought.
Sample lines from my /boot/kernel.h:
#ifndef __MODULE_KERNEL_package kernel2.2.19-7.0.1fs-2.2.19-7.0.1fs is not
#define __MODULE_KERNEL_package kernel2.2.19-7.0.1fs-2.2.19-7.0.1fs is not
uname -r yields:
Said script is part of the initscripts package
*** This bug has been marked as a duplicate of 36558 ***
*** This bug has been marked as a duplicate of 36480 ***