Re: Kernel Rebuilding

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

 



At 10:28 PM -0500 11/21/06, Kurt Wall wrote:
>Eh, I'm trying to build a new kernel. The release notes
>(http://fedora.redhat.com/docs/release-notes/fc6/en_US/sn-Kernel.html) are
>spot on up to this point at the end of section 8.6:
>
>	"Normally, kernels for Fedora are built using the rpmbuild utility
>and a specfile. Your results may vary if you use the kernel's built-in
>make rpm target."
>
>So, is "rpmbuild -bb --target=$(uname -m) kernel-2.6.spec" the command I want?

I think:

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

This builds a new binary package and removes the source.  If you want the
source:

    rpmbuild --recompile -bp --target=$(uname -m) kernel-xxx.src.rpm
-- 
____________________________________________________________________
TonyN.:'    The Great Writ     <mailto:tonynelson@xxxxxxxxxxxxxxxxx>
      '      is no more.             <http://www.georgeanelson.com/>


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux