mkdumprd: force drop earlykdump module
earlykdump is not suppose to be loaded for a kdump initramfs, and user may add it into dracut's config file so it will be included by default. It will also make the image building always fail because earlykdump actually detect if it's being used for kdump image and raise an error if so. In that case, we always force drop this module to avoid such problem. Signed-off-by: Kairui Song <ryncsn@gmail.com> Acked-by: Dave Young <dyoung@redhat.com>
This commit is contained in:
parent
8c8dc9d641
commit
0c24dce730
2
mkdumprd
2
mkdumprd
@ -37,7 +37,7 @@ is_wdt_addition_needed
|
||||
[[ $? -eq 0 ]] && WDTCFG="-a watchdog"
|
||||
|
||||
extra_modules=""
|
||||
dracut_args=("--quiet" "--hostonly" "--hostonly-cmdline" "--hostonly-i18n" "--hostonly-mode" "strict" "-o" "plymouth dash resume ifcfg" $WDTCFG)
|
||||
dracut_args=("--quiet" "--hostonly" "--hostonly-cmdline" "--hostonly-i18n" "--hostonly-mode" "strict" "-o" "plymouth dash resume ifcfg earlykdump" $WDTCFG)
|
||||
OVERRIDE_RESETTABLE=0
|
||||
|
||||
add_dracut_arg() {
|
||||
|
Loading…
Reference in New Issue
Block a user