[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: RedHat kernel RPMs?



On Mon, Sep 25, 2000 at 01:28:19PM -0700, 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,
> 	Greg
> 

Red Hat produces kernels just like you do, using rpm to build from a spec file.

However, what's biting you is that nested %if handling (which is present in
the kernel-2.2.16-3 spec file) has broken in rpm since the kernel-2.2.16-3
package was released.

While this will be fixed in rpm Real Soon Now, your present options are
outlined at bug #14463 at
	http://bugzilla.redhat.com
which says basically

  0) use rpm-3.0.4 to build kernel-2.2.16-3.

  1) fix the kernel spec file. I believe that the latest Raw Hide kernel has
     these changes.

  2) revert the #11485 patch and rebuild rpm.

  3) I have a patch from H. J. Lu that fixes the problem, but I dunno at the
     moment if that will be the final fix.

The patch mentioned in 3) is not perfect, but is attached to bug #14463 if
you need it.

73 de Jeff

-- 
Jeff Johnson	ARS N3NPQ
jbj@jbj.org	(jbj@redhat.com)
Chapel Hill, NC





[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index] []