Bug 196307 - kernel-smp isn't obsoleted correct on i686
Summary: kernel-smp isn't obsoleted correct on i686
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: kernel
Version: rawhide
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Dave Jones
QA Contact: Brian Brock
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2006-06-22 14:54 UTC by Robert Scheck
Modified: 2015-01-04 22:27 UTC (History)
2 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2006-06-23 02:48:52 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Robert Scheck 2006-06-22 14:54:24 UTC
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-23 02:48:52 UTC
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.