Bug 196307

Summary: kernel-smp isn't obsoleted correct on i686
Product: [Fedora] Fedora Reporter: Robert Scheck <redhat-bugzilla>
Component: kernelAssignee: Dave Jones <davej>
Status: CLOSED RAWHIDE QA Contact: Brian Brock <bbrock>
Severity: medium Docs Contact:
Priority: medium    
Version: rawhideCC: pfrields, wtogami
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2006-06-23 02:48:52 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

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.