Re: Recompile kernel without SMP

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

 



On Fri, 14 Aug 2009 12:37:10 -0400
"Paul Grinberg" <pgrinberg@xxxxxxxxxxxx> wrote:

> Hi there,
> 
> I am trying to recompile kernel without SMP. So far I've been
> unsuccessful. Meaning I am able to compile, but it was still SMP..
> 
> Can someone tell me what I am doing wrong?


> cp .config ~/rpmbuild/SOURCES/config-i686-generic
> cp .config ~/rpmbuild/SOURCES/config-i686

The only valid target for i686 is config-i686-PAE.
Look in the ~/rpmbuild/SPECS/kernel.spec file (search
for Source32), or ls ~/rpmbuild/SOURCE/config* before 
you copy anything to it to see the list of valid values.

Because the two config names you are using aren't valid in the spec
file, they are being ignored and the generic Fedora kernel is being
built.

> # Create RPM package
> rpmbuild -bb --with firmware --target=i686 kernel.spec
 
See the link 
http://fedoraproject.org/wiki/Building_a_custom_kernel
for a better command.

rpmbuild -bb --with baseonly --with firmware --without debuginfo --target=`uname -m` kernel.spec

This should build headers for you.

-- 
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines
[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