[PATCH] mkdumprd: dracut omit resume module
Vivek Goyal
vgoyal at redhat.com
Fri Mar 7 13:58:23 UTC 2014
On Fri, Mar 07, 2014 at 11:06:16AM +0800, WANG Chao wrote:
> 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 at redhat.com>
Looks good to me. Thanks chao.
Acked-by: Vivek Goyal <vgoyal at redhat.com>
Vivek
> ---
> mkdumprd | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/mkdumprd b/mkdumprd
> index 6797791..fbea236 100644
> --- a/mkdumprd
> +++ b/mkdumprd
> @@ -14,7 +14,7 @@ SSH_KEY_LOCATION="/root/.ssh/kdump_id_rsa"
> SAVE_PATH=$(grep ^path $conf_file| cut -d' ' -f2)
> [ -z "$SAVE_PATH" ] && SAVE_PATH="/var/crash"
> extra_modules=""
> -dracut_args=("--hostonly" "-o" "plymouth dash")
> +dracut_args=("--hostonly" "-o" "plymouth dash resume")
> OVERRIDE_RESETTABLE=0
>
> perror_exit() {
> --
> 1.8.5.3
>
> _______________________________________________
> kexec mailing list
> kexec at lists.fedoraproject.org
> https://lists.fedoraproject.org/mailman/listinfo/kexec
More information about the kexec
mailing list