Bug 196307 - kernel-smp isn't obsoleted correct on i686
kernel-smp isn't obsoleted correct on i686
Status: CLOSED RAWHIDE
Product: Fedora
Classification: Fedora
Component: kernel (Show other bugs)
rawhide
All Linux
medium Severity medium
: ---
: ---
Assigned To: Dave Jones
Brian Brock
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2006-06-22 10:54 EDT by Robert Scheck
Modified: 2015-01-04 17:27 EST (History)
2 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2006-06-22 22:48:52 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description Robert Scheck 2006-06-22 10:54:24 EDT
Description of problem:
The kernel-smp i686 package was merged into the kernel main i686 package,
right? Then the /etc/sysconfig/kernel file should be adapted during upgrade.

Version-Release number of selected component (if applicable):
kernel-2.6.17-1.2293_FC6

How reproducible:
Everytime.

Actual results:
/etc/sysconfig/kernel contains DEFAULTKERNEL=kernel-smp instead of "kernel"

Expected results:
Something like this or better...

--- kernel-2.6.spec       2006-06-22 03:18:26.000000000 +0200
+++ kernel-2.6.spec.rsc   2006-06-22 16:57:36.000000000 +0200
@@ -1421,7 +1421,7 @@
 exit 0

 %post
-if [ `uname -i` == "x86_64" ]; then
+if [ `uname -i` == "x86_64" -o `uname -i` == "i386" ]; then
   if [ -f /etc/sysconfig/kernel ]; then
     /bin/sed -i -e 's/^DEFAULTKERNEL=kernel-smp$/DEFAULTKERNEL=kernel/' /etc/
sysconfig/kernel
   fi
Comment 1 Dave Jones 2006-06-22 22:48:52 EDT
applied to cvs, thanks.
will be in kernel-2.6.17-1.2303_FC6 and above.

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