mkdumprd: dracut omit resume module
Let's omit resume module when building kdump initramfs, because: - kdump don't want to resume - it would pull in the swap device dependencie Tested on Fedora20. This change doesn't break anything. Signed-off-by: WANG Chao <chaowang@redhat.com> Acked-by: Vivek Goyal <vgoyal@redhat.com>
This commit is contained in:
parent
7fa73ec70f
commit
141912e5b7
2
mkdumprd
2
mkdumprd
@ -14,7 +14,7 @@ SSH_KEY_LOCATION="/root/.ssh/kdump_id_rsa"
|
|||||||
SAVE_PATH=$(grep ^path $conf_file| cut -d' ' -f2)
|
SAVE_PATH=$(grep ^path $conf_file| cut -d' ' -f2)
|
||||||
[ -z "$SAVE_PATH" ] && SAVE_PATH="/var/crash"
|
[ -z "$SAVE_PATH" ] && SAVE_PATH="/var/crash"
|
||||||
extra_modules=""
|
extra_modules=""
|
||||||
dracut_args=("--hostonly" "-o" "plymouth dash")
|
dracut_args=("--hostonly" "-o" "plymouth dash resume")
|
||||||
OVERRIDE_RESETTABLE=0
|
OVERRIDE_RESETTABLE=0
|
||||||
|
|
||||||
perror_exit() {
|
perror_exit() {
|
||||||
|
Loading…
Reference in New Issue
Block a user