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):
Steps to Reproduce:
1.Install new kernel rpm.
Created attachment 118196 [details]
Pass site-specific parameters to mkinitrd
A related request can be found in bug 171522 which could potentially use the
same sysconfig mechanism.
This should be handled with /etc/sysconfig/mkinitrd rather than through a mechanism like this.