* 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).
This commit is contained in:
parent
a63c31b62d
commit
c982589f0c
2 changed files with 7 additions and 1 deletions
|
@ -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>
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue