Bug 113125

Summary: RFE: please add an argument to new-kernel-pkg (with patch)
Product: [Fedora] Fedora Reporter: ajs <ajsfedora>
Component: mkinitrdAssignee: Jeremy Katz <katzj>
Status: CLOSED CURRENTRELEASE QA Contact: David Lawrence <dkl>
Severity: medium Docs Contact:
Priority: medium    
Version: 1Keywords: FutureFeature
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Enhancement
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2004-04-05 17:56:05 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:
Attachments:
Description Flags
Patch to implement request. none

Description ajs 2004-01-08 18:17:04 UTC
Description of problem:

Please add an argument to new-kernel-pkg to add arbitrary kernel
arguments.

At times I need to add extra kernel arguments to kernels that I install.  

One example is in an rpm that I make when a new version of Red Hat or
Fedora is released.  The rpm installs the kernel and ram-disk from the
installation CD to the system and adds the kernel to the boot menu.  
 All of the systems get their kickstart configuration from a common
URL so the extra kernel argument in this case is 'ks=<URL>'.  I
currently have a modified new-kernel-pkg script in each of the %post
and %preun sections of the .spec file used to generate the rpm.  These
modified versions would not be necessary if there was an argument to
pass kernel args to grubby.  See attached patch.

Comment 1 ajs 2004-01-08 18:19:22 UTC
Created attachment 96834 [details]
Patch to implement request.

I think that this patch will implement the request without being intrusive.

Comment 2 Jeremy Katz 2004-01-08 23:35:17 UTC
Seems reasonable, added for 3.5.18, thanksf or the patch.