summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--perl-install/NEWS2
-rw-r--r--perl-install/any.pm2
2 files changed, 3 insertions, 1 deletions
diff --git a/perl-install/NEWS b/perl-install/NEWS
index 05c14c8bb..dbab0e6af 100644
--- a/perl-install/NEWS
+++ b/perl-install/NEWS
@@ -1,3 +1,5 @@
+- Fix syntax of 51-mageia-resume.conf (mga#28055)
+
Version 18.39 - 04 January 2021
- translations update
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));
}
}