[CentOS] rolling your own kernel - guidelines?

Florin Andrei florin at andrei.myip.org
Mon Oct 22 17:33:20 UTC 2007

Florin Andrei wrote:
> Apply this patch to the scripts/package/mkspec file (careful, at least 
> one line is wrapped by the Gmane mail archive, so unwrap manually):
> http://thread.gmane.org/gmane.linux.kernel/593172
> Or just use the patch file attached to this message if the mail archive 
> doesn't work for you.
> Either way, the command to apply the patch is the same - from within the 
> kernel source tree, run:
> patch -p1 < mkspec.patch
> Do "make rpm"

Forgot to mention - for that patch to work, before running "make rpm" 
you have to execute "export RPM_RH5_STYLE=true", otherwise the features 
in the mkspec patch are not activated.

Florin Andrei


More information about the CentOS mailing list