[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: Kernel compilation from src.rpm



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


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]