Bug 166954

Summary: Pass additional parameters to mkinitrd in new-kernel-pkg
Product: [Fedora] Fedora Reporter: Keith Moore <keithmo>
Component: mkinitrdAssignee: Peter Jones <pjones>
Status: CLOSED NOTABUG QA Contact: David Lawrence <dkl>
Severity: medium Docs Contact:
Priority: medium    
Version: rawhideCC: shiva
Target Milestone: ---Keywords: FutureFeature, Patch
Target Release: ---   
Hardware: All   
OS: Linux   
Fixed In Version: Doc Type: Enhancement
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2009-02-17 19:26:39 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---
Description Flags
Pass site-specific parameters to mkinitrd none

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):

How reproducible:

Steps to Reproduce:
1.Install new kernel rpm.

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.