Recompile kernel without SMP

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

 



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?
And why I don't get "kernel-headers" build?

It is probably related to spec parameters.... 


So far this is what I've done:

cd ~/
rpmdev-setuptree # as regular user
cd rmpbuild
yumdownloader --source kernel # as regular user

cd ~/rpmbuild/BUILD/kernel-2.6.29/linux-2.6.29.i686/
cp configs/kernel-2.6.29.6-i586.config .config
make menuconfig                 # console setup

Select option: Processor type and features.
Disable "Symmetric multi-processing support" (SMP)

cp .config ~/rpmbuild/SOURCES/config-i686-generic
cp .config ~/rpmbuild/SOURCES/config-i686
cd ~/rpmbuild/SPECS
nano kernel.spec
Add line:
% define buildid .NONSMP
Replace:

# Allow kernel-firmware building
#%define with_firmware  %{?_with_firmware:  1} %{?!_with_firmware:  0}
%define with_firmware  %{?_with_firmware:  0} %{?!_with_firmware:  1}

#%define with_firmware  %{?_without_firmware:  0} %{?!_without_firmware:
1}
%define with_firmware  %{?_without_firmware:  1} %{?!_without_firmware:
0}

# Allow kernel-headers building

# Allow kernel-devel building

# Create RPM package
rpmbuild -bb --with firmware --target=i686 kernel.spec

# To actually install kernel
su
rpm -ivh kernel-firmware-2.6.29.6-217.2.3.nonsmp.fc11.i686.rpm
kernel-PAE-2.6.29.6-217.2.3.nonsmp.fc11.i686.rpm
kernel-PAE-devel-2.6.29.6-217.2.3.nonsmp.fc11.i686.rpm





-- 
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