> From: John Aldrich <john@chattanooga.net>
> Date: Mon, 25 Sep 2000 17:11:40 -0400
>
> On Mon, 25 Sep 2000, Gregory Leblanc wrote:
> > > -----Original Message-----
> > > From: John Aldrich [mailto:john@chattanooga.net]
> > >
> > > On Mon, 25 Sep 2000, Gregory Leblanc wrote:
> > > > How does RedHat manage to produce kernel RPMs for
> > > i586/i686? I just ran rpm
> > > > --rebuild kernel-2.2.16-3.src.rpm, but it only came back
> > > with i386 binaries,
> > > > and I'm wondering how badly mangled things will be if I just use my
> > > > home-grown optimizations on the kernel. Anybody tried this
> > > and care to
> > > > offer advice? Thanks,
> > > >
> > > rpm --rebuild --target=<i386/i486...> kernel-2.2.16-3.src.rpm
> >
> > What flags does RedHat use to produce their packages (what is their rpmrc
> > definition for i686)? Is the kernel spec file smart enough to change
> > .config in the kernel sources directory so that it's building code for i5
> 86
> > rrather than for i386? There's a lot more to optimizing the kernel than
> > there is any normal user space program.
> >
> I dunno. All I know is you *should* be able to do as I suggest
> above... someone else basically said the same thing, so other than
> that I haven't a clue.
I use these two lines to build my set of RPMS:
rpm -ba --target=i586-unknown-linux kernel.spec
rpm -bb --target=i686-unknown-linux kernel.spec
This is with a spec file which is modified to generate the source, header,
doc, and util RPMs for an i586.
Chris
--
Chris Garrigues http://www.DeepEddy.Com/~cwg/
virCIO http://www.virCIO.Com
4314 Avenue C
Austin, TX 78751-3709 +1 512 374 0500
My email address is an experiment in SPAM elimination. For an
explanation of what we're doing, see http://www.DeepEddy.Com/tms.html
Nobody ever got fired for buying Microsoft,
but they could get fired for relying on Microsoft.
Attachment:
pgp00004.pgp
Description: PGP signature