Leap 15 - where is /etc/sysconfig/kernel initrd modules?

As of Leap 15, apparently /etc/sysconfig/kernel is no longer used to define the kernel modules for mkinitrd to use. How is this done now? Something to do with dracut?

Thanks!

I think you are supposed to add simple scripts to “/etc/dracut.conf.d/modules.d”.

It is still interpreted by mkinitrd which is used by default when new kernel is installed. It is not used when dracut is called directly.

This refers to dracut modules, not kernel modules. For kernel modules (a.k.a. drivers) add configuration snippet to /etc/dracut.conf.d adding to add_drivers or force_drivers (see man dracut.conf). Modules from /etc/sysconfig/kernel are added to force_drivers by mkinitrd.

Thanks for the quick reply!

A little more clarification, please: Using lsinitrd on my 42.3, I see /etc/sysconfig/kernel called, whereas on a clean 15.0 I do not. On both I see dracut modules which appear to be scripts executed by dracut – are these where the specific kernel modules get identified, thereby eliminating the need for the sysconfig/kernel file? If so, I gather that sysconfig/kernel is left/still called only for backward compatibility?

Do I have that correct?
Clearly I have some catching up to do. It has been quite a while since I did a bare metal install/upgrade as I’m doing now. :stuck_out_tongue:

Thanks again.