Kernel compilation from src.rpm

Michal Jaegermann michal at harddata.com
Mon Jan 30 21:15:19 UTC 2006


On Mon, Jan 30, 2006 at 09:05:53PM +0100, Thorsten Leemhuis wrote:
> Am Montag, den 30.01.2006, 14:01 -0500 schrieb Kevin H. Hobbs:
> 
> And then:
> 
> > Then rebuild the kernel.
> > 
> > 	rpmbuild --rebuild kernel-xyz.src.rpm
> 
> HTH

Depending on what for you are building you may also need your target
specified.  If this is for the same target you are running at the
moment then you can use

        rpmbuild --rebuild --target=$(uname -m) kernel-xyz.src.rpm

or you may end up with i386 kernel when i686 was really desired.

The same should be taken into a consideration if you are building
extra kernel modules.

   Michal




More information about the fedora-test-list mailing list