From 3c7a7f31dd1a39b86f223974c969fcfc1aecdea4 Mon Sep 17 00:00:00 2001 From: Martin Whitaker Date: Sat, 16 Feb 2019 21:46:46 +0000 Subject: 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. --- NEWS | 1 + lib/MGA/DrakISO/BuildBoot.pm | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) 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}, -- cgit v1.2.1