Re: Kernel Rebuilding

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

 



On 11/22/06, Tony Nelson <tonynelson@xxxxxxxxxxxxxxxxx> wrote:
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

What you posted only rebuilds a pre-existing kernel SRPM.  I think
Kurt wanted to build a new kernel.org kernel into an RPM.  Although
I'm pretty sure that kerne.org kernels have included a 'make rpm'
target for a while now, so that might be alot easier than trying to
figure out 'the fedora way'.


--
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
L. Friedman                                    netllama@xxxxxxxxx
LlamaLand                       http://netllama.linux-sxs.org

--
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [Fedora Magazine]     [Fedora News]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Maintainers]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [Fedora Fonts]     [ATA RAID]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [SSH]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Tux]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Asterisk PBX]     [Fedora Sparc]     [Fedora Universal Network Connector]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux