-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Thursday 10 October 2002 12:50 pm, Mark C wrote: > This sounds like a really weird question, but for some reason I'm > having unable to build a i386 kernel from the 2.4.18 src rpm from the > sources cd (and the website as well). > > Doing the usual: > > rpmbuild --ba --target i386 kernel-2.4.18-14.src.rpm > > > only builds: > i386/kernel-source-2.4.18-14.i386.rpm > i386/kernel-doc-2.4.18-14.i386.rpm > i386/kernel-BOOT-2.4.18-14.i386.rpm > > I've added enabled some extra options, redone all the configs and > amended some info the the kernel name (as per spec file) and put them > back into the SOURCES directory, so it will build a new rpm of the > kernel. If I understand what you are doing correctly, you are wiping out all your changes when you run the above command. The first thing rpmbuild --ba - --target i386 kernel-2.4.18-14.src.rpm does is install the kernel-2.4.18-14.src.rpm (probably over all your changes.) Try install ing the .src.rpm, make your changes in the SOURCES directory, and then run rpmbuild -ba --{your options} /path/to/SOURCES/kernel-2.4.spec Note that the kernel spec file defines --with/--without options to determine what gets built. - -- - -Michael pgp key: http://www.tuxfan.homeip.net:8080/gpgkey.txt Red Hat Linux 7.{2,3} in 8M of RAM: http://www.rule-project.org/ - -- -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.7 (GNU/Linux) iD8DBQE9piTWn/07WoAb/SsRAo11AJ0V8uPNBVinmdm7Hpe0/JPp59zd1ACggpJN yQAe33yA6X62eShLm0Bmlag= =Qi9F -----END PGP SIGNATURE-----