> -----Original Message----- > From: redhat-list-bounces@xxxxxxxxxx [mailto:redhat-list- > bounces@xxxxxxxxxx] On Behalf Of Blair Lowe > Sent: Sunday, May 01, 2005 9:47 PM > To: General Red Hat Linux discussion list > Subject: RE: Compiling kernel rpm > > On Wed, 2005-01-12 at 11:05, Otto Haliburton wrote: > > > > > > > > > > When I try to compile an rpm (rpmbuild -ba) for kernel-2.4.20-28.7 > for > > > > > rh7.3, the rpm doesn't create the smp. > > > > > > > > > > Please advise as to how to create the smp kernel. Do I need smp > arch > > > on > > > > > the machine that compiles the kernel to get an smp kernel? > > > > > > > > > If you know how to build the kernel, then when you do menuconfig, or > th > > > > xconfig, you need to config the smp processor stuff, unless I'm > confused > > > by > > > > what you are asking. I don't think you are going to get any other > > > -- > > respectfully, I just told you, use the configuration programs to > configure > > for smp!!!!!!!!!!!!!!! > > Thanks Otto. > > The appropriate answer to this one is: > > rpmbuild -ba --target=i686 kernel-2.4.spec > > you need the i686 in order to build the smp stuff, otherwise it will not > build it. > > Rebuilding the kernel using make menuconfig etc. is OK for a one off > purpose, but not for multiple machine deployment (the whole purpose of > rpm). > > In fact I rarely use make menuconfig because it is not reproduce-able. > If you are doing red hat stuff, and know how to build RPM's, then > editing or patching a config file is much better so that you can create > an rpm for 100's or thousands of machines, and not just one, or for one > image. > Life is very complicated. Let us see if we can make it simple. 1) build the kernel using rpmbuild ... on 1 machine with smp. Creating the binaries. 2) create a rpm with these binaries or distribute the binaries to all other machines. Now is that difficult. Or go in to the spec file and figure out how to set it up for smp. And go from there. -- redhat-list mailing list unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe https://www.redhat.com/mailman/listinfo/redhat-list