Kernel Development With 'rpmbuild'

Robert L Cochran cochranb at speakeasy.net
Wed Jan 11 22:09:05 UTC 2006


Hello,

I'm playing with building my own kernel using an rpm build tree in my 
home directory. I want to be able to make a change to the stock kernel 
and rebuild it using 'rpmbuild'. The kernel is installed there per the 
instructions in 
http://fedora.redhat.com/docs/release-notes/fc4/errata/#sn-kernel . I 
have copied the config file from my currently running kernel and 
executed 'make oldconfig'.

What are my next steps? I'm guessing that:

now the time to change the config file (using 'make xconfig')?

then rebuild the package? I just want to do this for the smp kernel, 
isn't there an option such as '--arch=smp' I can use? Or will rpmbuild 
build for my arch only by default?

Thanks

Bob Cochran








More information about the fedora-list mailing list