summaryrefslogtreecommitdiffstats
path: root/lib
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 /lib
parent8a3f75fc247754ef764736f20bb6c24a8a930e8f (diff)
downloaddrakiso-3c7a7f31dd1a39b86f223974c969fcfc1aecdea4.tar
drakiso-3c7a7f31dd1a39b86f223974c969fcfc1aecdea4.tar.gz
drakiso-3c7a7f31dd1a39b86f223974c969fcfc1aecdea4.tar.bz2
drakiso-3c7a7f31dd1a39b86f223974c969fcfc1aecdea4.tar.xz
drakiso-3c7a7f31dd1a39b86f223974c969fcfc1aecdea4.zip
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.
Diffstat (limited to 'lib')
-rw-r--r--lib/MGA/DrakISO/BuildBoot.pm2
1 files changed, 1 insertions, 1 deletions
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},