From 5d4a5896c94ec3c9af4c4e8a6bd099d8cb5ea2b8 Mon Sep 17 00:00:00 2001 From: Kairui Song Date: Mon, 15 Jun 2020 16:34:51 +0800 Subject: [PATCH] mkdumprd: Fix dracut error on multiple extra_modules Dracut expects --add-drivers with a single parameter, so mkdumprd should quota the module list. Signed-off-by: Kairui Song Acked-by: Pingfan Liu --- mkdumprd | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mkdumprd b/mkdumprd index 1bee98c..7bc1bd1 100644 --- a/mkdumprd +++ b/mkdumprd @@ -471,7 +471,7 @@ handle_default_dump_target if [ -n "$extra_modules" ] then - add_dracut_arg "--add-drivers" "$extra_modules" + add_dracut_arg "--add-drivers" \"$extra_modules\" fi if ! is_fadump_capable; then