From b2d062329f10000e007b80cc72f10c3c649341eb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nicolas=20L=C3=A9cureuil?= Date: Sun, 10 Jan 2021 15:33:07 +0100 Subject: setupBootloaderBefore: Fix syntax of 51-mageia-resume.conf (mga#28055) --- perl-install/any.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'perl-install/any.pm') diff --git a/perl-install/any.pm b/perl-install/any.pm index 24c3575ad..2fdf15902 100644 --- a/perl-install/any.pm +++ b/perl-install/any.pm @@ -174,7 +174,7 @@ sub setupBootloaderBefore { my $biggest_swap_dev = fs::wild_device::from_part('', $biggest_swap); bootloader::set_append_with_key($bootloader, resume => $biggest_swap_dev); mkdir_p("$::prefix/etc/dracut.conf.d"); - output("$::prefix/etc/dracut.conf.d/51-mageia-resume.conf", qq(add_device+="$biggest_swap_dev"\n)); + output("$::prefix/etc/dracut.conf.d/51-mageia-resume.conf", qq(add_device+=" $biggest_swap_dev "\n)); } } -- cgit v1.2.1