summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNicolas Lécureuil <neoclust@mageia.org>2021-01-10 15:33:07 +0100
committerNicolas Lécureuil <neoclust@mageia.org>2021-01-10 15:34:12 +0100
commitb2d062329f10000e007b80cc72f10c3c649341eb (patch)
tree2043de3aa1e34fde8a7120e2d55740cee69c9a62
parentf7ed01aba61d95a58daf658a204650c82d793080 (diff)
downloaddrakx-b2d062329f10000e007b80cc72f10c3c649341eb.tar
drakx-b2d062329f10000e007b80cc72f10c3c649341eb.tar.gz
drakx-b2d062329f10000e007b80cc72f10c3c649341eb.tar.bz2
drakx-b2d062329f10000e007b80cc72f10c3c649341eb.tar.xz
drakx-b2d062329f10000e007b80cc72f10c3c649341eb.zip
setupBootloaderBefore: Fix syntax of 51-mageia-resume.conf (mga#28055)
-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));
}
}