Description of problem:
I'd like to be able to specify modules that are to be built into every
initrd made by mkinitrd (in my special case it is the rivafb module).
When manually creating the initrd, I can specify this using "--with"
and "--preload". I can not do this when the initrd is created
automatically (by a new kernel install, for example).
So I suggest to create a file (/etc/sysconfig/initrd ?) where modules
to be added to every initrd can be specified.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
Created attachment 107117 [details]
Patch to archive desired behaviour
The attached patch makes mkinitrd behave as I'd like it to. It reads
/etc/sysconfig/mkinitrd (if it exists), and adds the values found in PRELOAD
and WITH to the internal lists of modules.
Fixed in current release, though not quite as you've got here -- define PREMODS
or MODULES in /etc/sysconfig/mkinitrd.
That'll do just fine, thanks!