Bug 166954 - Pass additional parameters to mkinitrd in new-kernel-pkg
Summary: Pass additional parameters to mkinitrd in new-kernel-pkg
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Fedora
Classification: Fedora
Component: mkinitrd
Version: rawhide
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Peter Jones
QA Contact: David Lawrence
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2005-08-28 20:49 UTC by Keith Moore
Modified: 2009-02-17 19:26 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Enhancement
Doc Text:
Clone Of:
Environment:
Last Closed: 2009-02-17 19:26:39 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
Pass site-specific parameters to mkinitrd (580 bytes, patch)
2005-08-28 20:50 UTC, Keith Moore
no flags Details | Diff

Description Keith Moore 2005-08-28 20:49:06 UTC
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.8) Gecko/20050511

Description of problem:
It is often necessary to pass additional parameters (i.e. --with-usb) to mkinitrd when installing a new kernel. This could be done more easily if new-kernel-pkg honored a MKINITRDOPTIONS variable which could be set in /etc/sysconfig/kernel. I've attached a simple patch which implements this.

Version-Release number of selected component (if applicable):
mkinitrd-4.2.21-1

How reproducible:
Always

Steps to Reproduce:
1.Install new kernel rpm.
2.
3.
  

Additional info:

Comment 1 Keith Moore 2005-08-28 20:50:44 UTC
Created attachment 118196 [details]
Pass site-specific parameters to mkinitrd

Comment 2 Kenneth Porter 2005-10-22 02:05:21 UTC
A related request can be found in bug 171522 which could potentially use the
same sysconfig mechanism.

Comment 3 John Poelstra 2008-07-08 03:55:03 UTC
triaged-patch present

Comment 4 Peter Jones 2009-02-17 19:26:39 UTC
This should be handled with /etc/sysconfig/mkinitrd rather than through a mechanism like this.


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