mkdumprd: remove -M option for dracut

We shouldn't output what dracut module are used when rebuilding kdump
initrd. It's confusing to user.

And since we've introduced dracut_args in kdump.conf, we can safely
remove this mandatory -M and let user add as his/her need.

Signed-off-by: WANG Chao <chaowang@redhat.com>
Acked-by: Baoquan He <bhe@redhat.com>
Acked-by: Vivek Goyal <vgoyal@redhat.com>
This commit is contained in:
WANG Chao 2013-06-07 16:57:14 +08:00 committed by Baoquan He
parent aa15e6b6dc
commit 928c5f1294

View File

@ -537,7 +537,7 @@ then
add_dracut_arg "--add-drivers" "$extra_modules"
fi
dracut "${dracut_args[@]}" -M "$@"
dracut "${dracut_args[@]}" "$@"
_rc=$?
sync
exit $_rc