Thanks! I've tried it, it seems that for i686 3 kernels have been built (regular,smp,bigmem). When running the same for i586 only the regular kernel is created. Any idea what might be the reason for that? Yuval -----Original Message----- From: rpm-list-bounces@xxxxxxxxxx [mailto:rpm-list-bounces@xxxxxxxxxx] On Behalf Of Jos Vos Sent: Sunday, March 14, 2004 12:27 PM To: RPM Package Manager Subject: Re: rebuilding kernel RPMs On Sun, Mar 14, 2004 at 11:46:50AM +0200, Sherman, Yuval wrote: > The patch file seems to be applied correctly. However, the only RPMs > that were created are (all under the i386 dir): > > * Kernel-doc > * Kernel-BOOT > * Kernel-source > > How can I build RPMs for i586 and i686 as well? I also want to build > different kinds of kernels (bigmem, smp, etc.) for each architecture, > how should I do that? rpmbuild -ba --target i586 kernel-2.4.spec rpmbuild -ba --target i686 kernel-2.4.spec Or (better) you can use the src.rpm created with the standard (i386) build and do: rpmbuild --rebuild --target i586 path-kernel-src-rpm rpmbuild --rebuild --target i686 path-kernel-src-rpm The bigmem, smp etc. kernels will be build automatically for the appropriate architectures (see corresponding rpm macros in the kernel spec file). -- -- Jos Vos <jos@xxxxxx> -- X/OS Experts in Open Systems BV | Phone: +31 20 6938364 -- Amsterdam, The Netherlands | Fax: +31 20 6948204 _______________________________________________ Rpm-list mailing list Rpm-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/rpm-list _______________________________________________ Rpm-list mailing list Rpm-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/rpm-list