summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMartin Whitaker <mageia@martin-whitaker.me.uk>2019-02-16 21:46:46 +0000
committerMartin Whitaker <mageia@martin-whitaker.me.uk>2019-02-16 22:57:52 +0000
commit3c7a7f31dd1a39b86f223974c969fcfc1aecdea4 (patch)
treecb6cb78fefdaa3079e514c00b093f73a8fd46243
parent8a3f75fc247754ef764736f20bb6c24a8a930e8f (diff)
Minor change to grub.cfg to simplify use with multibootusb.
Removing the unnecessary ($root) prefix means multibootusb will automatically fix up the path to our grub directory.
-rw-r--r--NEWS1
-rw-r--r--lib/MGA/DrakISO/BuildBoot.pm2
2 files changed, 2 insertions, 1 deletions
diff --git a/NEWS b/NEWS
index 0e46379..1d730d4 100644
--- a/NEWS
+++ b/NEWS
@@ -1,3 +1,4 @@
+- bootloader: tweak grub.cfg for use with multibootusb
- drakclassic: show package dependencies at verbose level > 4
1.9
diff --git a/lib/MGA/DrakISO/BuildBoot.pm b/lib/MGA/DrakISO/BuildBoot.pm
index 367bf6e..861f56a 100644
--- a/lib/MGA/DrakISO/BuildBoot.pm
+++ b/lib/MGA/DrakISO/BuildBoot.pm
@@ -329,7 +329,7 @@ sub build_grub2_cfg {
join("\n",
"if [ -z \$initialised ] ; then",
- " set grub2=(\$root)/boot/grub2",
+ " set grub2=/boot/grub2",
" export grub2",
"",
if_($build->{media}{overlay_label},