Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
In some cases, we need to change dracut [omit_]dracutmodules to customize the first kernel's initrd to meet the needs, such as bootc and CoreOS. In most cases kdump does not use these modules, but the change of [omit]_dracutmodules may break existing functionality. For example, if we set omit_dracutmodules='nfs', the nfs module cannot be added even if we use "dracut_args --force-add 'nfs'". It is better to maintain its own dracut config for kdump. As the first try, we start by keeping [omit_]dracutmodules empty. Dracut will support --add-confdir start by 104, kdump can use this option when building kdump initramfs. If --add-confdir is not available in your system, kdump will use --confdir, in this case, the default confdir "/etc/dracut.conf.d" will not work while generating kdump initrd. Suggested-by: Dave Young <[email protected]> Suggested-by: Colin Walters <[email protected]> Signed-off-by: Lichen Liu <[email protected]>
- Loading branch information