Kernel Development With 'rpmbuild'

Paul Howarth paul at city-fan.org
Wed Jan 11 22:21:05 UTC 2006


On Wed, 2006-01-11 at 17:09 -0500, Robert L Cochran wrote:
> 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?

Does http://home.swbell.net/kwgow/kernel/steps.html help?

Paul.




More information about the fedora-list mailing list