Bug 102031

Summary: kickstart package list ignores -kernel directive
Product: [Retired] Red Hat Linux Reporter: Damian Menscher <menscher>
Component: anacondaAssignee: Jeremy Katz <katzj>
Status: CLOSED RAWHIDE QA Contact: Mike McLean <mikem>
Severity: low Docs Contact:
Priority: medium    
Version: 9   
Target Milestone: ---   
Target Release: ---   
Hardware: i386   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2006-04-24 18:05:34 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 Damian Menscher 2003-08-09 03:04:54 UTC
Description of problem:
Installing to a SMP machine, I only want the kernel-smp package installed (and
not the kernel package).  This is to control the boot-order in grub, so up2date
doesn't change it on me, etc.

I install from a kickstart file, and added the directive
-kernel
to remove the UP kernel.  It got installed anyway.

How reproducible:
Always

Steps to Reproduce:
1.deselect kernel in kickstart file
2.rpm -qa | grep kernel

Actual Results:  I end up with both SMP and UP kernels installed.

Expected Results:  Should have only the SMP kernel.

Additional info:

/root/install.log shows:
Installing kernel-2.4.20-8.
Installing kernel-smp-2.4.20-8.
Installing kernel-pcmcia-cs-3.1.31-13.
Installing kernel-source-2.4.20-8.

A workaround is to do an rpm -e kernel in your postinstall script.

Comment 1 Jeremy Katz 2003-08-13 01:01:56 UTC
Fixed in CVS to not unilaterally select "kernel" if we've selected another
kernel package.

Comment 2 Jeremy Katz 2006-04-24 18:05:34 UTC
Mass-closing lots of old bugs which are in MODIFIED (and thus presumed to be
fixed).  If any of these are still a problem, please reopen or file a new bug
against the release which they're occurring in so they can be properly tracked.