]> git.ipfire.org Git - thirdparty/grub.git/commitdiff
* util/grub-mkrescue.in: Add explicit root argument to --set to
authorColin Watson <cjwatson@ubuntu.com>
Mon, 20 Sep 2010 12:14:44 +0000 (13:14 +0100)
committerColin Watson <cjwatson@ubuntu.com>
Mon, 20 Sep 2010 12:14:44 +0000 (13:14 +0100)
prevent the UUID being interpreted as an argument to --set (matches
previous change to prepare_grub_to_access_device).

ChangeLog
util/grub-mkrescue.in

index 0aaeb74d90970f532af18b596f1b70608bda1df4..721410445f9c9db3d48f4bb3b61d17dc8980d55d 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2010-09-20  Colin Watson  <cjwatson@ubuntu.com>
+
+       * util/grub-mkrescue.in: Add explicit root argument to --set to
+       prevent the UUID being interpreted as an argument to --set (matches
+       previous change to prepare_grub_to_access_device).
+
 2010-09-20  Colin Watson  <cjwatson@ubuntu.com>
 
        * kern/emu/hostdisk.c: Include <sys/ioctl.h> and <sys/disklabel.h>
index 142ee85cda6439841ec57bbb04e01898cc4adb3d..f2714c486c09db73c56841c23a7d34ff3fd3c1c8 100644 (file)
@@ -202,7 +202,7 @@ make_image ()
     mkdir -p ${memdisk_dir}/boot/grub
 
     cat << EOF > ${memdisk_dir}/boot/grub/grub.cfg
-search --fs-uuid --set ${iso_uuid}
+search --fs-uuid --set=root ${iso_uuid}
 set prefix=(\${root})/boot/grub/${platform}
 source \$prefix/grub.cfg
 EOF