Recompiling kernel src rpm with config changes?

John Abreau jabr at blu.org
Wed Jun 28 13:23:13 EDT 2006


I'm trying to rebuild a kernel on CentOS 4.3, and I get a bunch
of errors when I try to use the kernel-devel rpm. Rebuilding
the source rpm with

    rpmbuild --rebuild kernel-2.6.9-34.0.1.EL.src.rpm

works fine, but that builds it with the default .config.

Is there a way to tell rpmbuild to use a different config file
when rebuilding the kernel?  Is there any option other than
building it all manually? The source rpm includes a lot of
patches, and I basically want to keep everything the same except
for the specific options I'm changing.


-- 
John Abreau / Executive Director, Boston Linux & Unix
ICQ 28611923 / AIM abreauj / JABBER jabr at jabber.org / YAHOO abreauj
Email jabr at blu.org / WWW http://www.abreau.net / PGP-Key-ID 0xD5C7B5D9
PGP-Key-Fingerprint 72 FB 39 4F 3C 3B D6 5B E0 C8 5A 6E F1 2C BE 99
-------------- next part --------------
A non-text attachment was scrubbed...
Name: jabr.vcf
Type: text/x-vcard
Size: 294 bytes
Desc: not available
URL: <http://lists.blu.org/pipermail/discuss/attachments/20060628/305f935b/attachment.vcf>


More information about the Discuss mailing list