Florin Andrei wrote:
Get the vanilla kernel tarball.
Apply the mkspec patch. (*)
Now do this:
export RPM_RH5_STYLE=1
Otherwise the patch is pointless.
Or hack the patch and remove the "if $RPM_RH5_STYLE; then" conditionals
so it's always generated "RH5 style".
Get the .config file from the CentOS kernel (see /boot).
Use that config file to do a "make oldconfig" in the vanilla kernel
source tree. This will import most settings from the original CentOS
kernel.
Now do a "make menuconfig" and peruse the config items. Make sure it's
not missing important stuff.
Now do "make rpm".
Voila, you've got a kernel rpm that's pretty similar to CentOS, only newer.
(*) - without the mkspec patch, the rpm will be pretty generic. The
CentOS/Redhat kernel rpm has a few more features that you need. This
patch adds them. See the file attached to this message.
------------------------------------------------------------------------
_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos
--
Florin Andrei
http://florin.myip.org/
_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos