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. As a side effect, the default confdir "/etc/dracut.conf.d" will not work while generating kdump initrd. And dracut can only use --confdir once, so "dracut_args --confidr" in /etc/kdump.conf will no longer work. This may be avoided in the future by adding something like "--extra-confdir" to dracut. Suggested-by: Dave Young <[email protected]> Suggested-by: Colin Walters <[email protected]> Signed-off-by: Lichen Liu <[email protected]>
- Loading branch information