[PlanetCCRMA] Kernel customization
Luis Garrido
luisgarrido@users.sourceforge.net
Tue Dec 6 14:52:01 2005
Hi, there!
I was wondering if someone else tried to make a customized version of
the CCRMA kernel.
I have been trying without success so far. These are the steps I follow:
- Install the SRPM.
- Edit the spec file:
%define buildsmp 0
%define release %(R="$Revision: 0.3.lgv$"; RR="${R##: }"; echo
${RR%%?})%{rhbsys}
- Extract the sources:
rpmbuild -bp --target i686 rpmbuild/SPECS/kernel.spec
- Apply manually a patch and make xconfig.
- Add the line
# i386
at the top of the resulting .config and copy it to
rpmbuild/SOURCES/kernel-2.6.13-i686.ccrma.config
- And finally build the kernel:
rpmbuild -ba --target i686 ~/rpmbuild/SPECS/kernel.spec
However, at the end of the process I get the following error message:
Checking for unpackaged file(s): /usr/lib/rpm/check-files
/var/tmp/kernel-2.6.13-0.3.lgv.rdt-root
error: Installed (but unpackaged) file(s) found:
/usr/lib/debug/lib/modules/2.6.13-0.3.lgv.rdt/vmlinux
RPM build errors:
File listed twice: /boot/System.map-2.6.13-0.3.lgv.rdt
File listed twice: /boot/config-2.6.13-0.3.lgv.rdt
Installed (but unpackaged) file(s) found:
/usr/lib/debug/lib/modules/2.6.13-0.3.lgv.rdt/vmlinux
Any idea of what the problem might be? I run FC4 on a uniprocessor Intel system.
Thanks in advance,
Luis