Kernel Rebuilding
Tony Nelson
tonynelson at georgeanelson.com
Wed Nov 22 16:36:26 UTC 2006
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 at georgeanelson.com>
' is no more. <http://www.georgeanelson.com/>
More information about the fedora-list
mailing list