Bug 19396 - kernel rpm builds kernel for i686 even in .i386.rpm
kernel rpm builds kernel for i686 even in .i386.rpm
Product: Red Hat Raw Hide
Classification: Retired
Component: kernel (Show other bugs)
i386 Linux
high Severity medium
: ---
: ---
Assigned To: Michael K. Johnson
Brock Organ
Depends On:
  Show dependency treegraph
Reported: 2000-10-19 15:46 EDT by Michael Tokarev
Modified: 2007-03-26 23:36 EDT (History)
0 users

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2000-10-30 16:34:26 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)
patch for 2.2.17-4.spec (826 bytes, patch)
2000-10-30 16:34 EST, Michael Tokarev
no flags Details | Diff

  None (edit)
Description Michael Tokarev 2000-10-19 15:46:37 EDT
When on i686 machine I issue kernel build command, it will make all
kernels destined for the i686 regardless what said in config file
(kernel-2.2.16.i386.config etc).  I figured this out -- since
DependKernel() places RedHat's ..config to arch/i386/defconfig,
but changed by RedHat scripts/Configure looks to
configs/*-$KERNTYPE.config first (where $KERNELTYPE taken from
/boot/kernel.h), it will always got the configs for running kernel
instead of supplied config.

Suggested change is to place required config file to .config in
DependKernel instead of arch/.../defconfig (that isn't ever consulted
if configs/*$KERNTYPE exists).

What's interesting is that this should break all the kernels including
smp/BOOT etc -- all should be built using type of kernel running on
build machine...  I'm curious why there are no similar reports exists
in bugzilla.  Maybe I again missed something?

Note that this bug (if it is) is in 7.0 release also.
Comment 1 Michael Tokarev 2000-10-30 16:33:23 EST
The same thing in latest 2.2.17-4 in rawhide.
People -- how you build different kernel rpms included in binary cdrom
etc ?!?!?!?
Patch for 2.2.17-4 included.
Comment 2 Michael Tokarev 2000-10-30 16:34:24 EST
Created attachment 4794 [details]
patch for 2.2.17-4.spec
Comment 3 Michael Tokarev 2001-08-06 15:31:47 EDT
Well, this is very old issue, seems to be fixed a long-long time ago...

Note You need to log in before you can comment on or make changes to this bug.