Red Hat Bugzilla – Bug 113125
RFE: please add an argument to new-kernel-pkg (with patch)
Last modified: 2007-11-30 17:10:35 EST
Description of problem:
Please add an argument to new-kernel-pkg to add arbitrary kernel
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.
Created attachment 96834 [details]
Patch to implement request.
I think that this patch will implement the request without being intrusive.
Seems reasonable, added for 3.5.18, thanksf or the patch.