Bug 113125 - RFE: please add an argument to new-kernel-pkg (with patch)
Summary: RFE: please add an argument to new-kernel-pkg (with patch)
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Fedora
Classification: Fedora
Component: mkinitrd
Version: 1
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Jeremy Katz
QA Contact: David Lawrence
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2004-01-08 18:17 UTC by ajs
Modified: 2007-11-30 22:10 UTC (History)
0 users

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2004-04-05 17:56:05 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
Patch to implement request. (1.41 KB, patch)
2004-01-08 18:19 UTC, ajs
no flags Details | Diff

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.


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