* util/grub-mkconfig_lib.in (prepare_grub_to_access_device): Add
explicit root argument to set to prevent UUID to be interpreted as argument to set.
This commit is contained in:
parent
b71c3faedb
commit
3c3b5040cd
2 changed files with 7 additions and 1 deletions
|
@ -1,3 +1,9 @@
|
||||||
|
2010-09-14 Vladimir Serbinenko <phcoder@gmail.com>
|
||||||
|
|
||||||
|
* util/grub-mkconfig_lib.in (prepare_grub_to_access_device): Add
|
||||||
|
explicit root argument to set to prevent UUID to be interpreted as
|
||||||
|
argument to set.
|
||||||
|
|
||||||
2010-09-14 Vladimir Serbinenko <phcoder@gmail.com>
|
2010-09-14 Vladimir Serbinenko <phcoder@gmail.com>
|
||||||
|
|
||||||
* grub-core/kern/sparc64/ieee1275/crt0.S: Align stack.
|
* grub-core/kern/sparc64/ieee1275/crt0.S: Align stack.
|
||||||
|
|
|
@ -119,7 +119,7 @@ prepare_grub_to_access_device ()
|
||||||
# otherwise set root as per value in device.map.
|
# otherwise set root as per value in device.map.
|
||||||
echo "set root='`${grub_probe} --device ${device} --target=drive`'"
|
echo "set root='`${grub_probe} --device ${device} --target=drive`'"
|
||||||
if fs_uuid="`${grub_probe} --device ${device} --target=fs_uuid 2> /dev/null`" ; then
|
if fs_uuid="`${grub_probe} --device ${device} --target=fs_uuid 2> /dev/null`" ; then
|
||||||
echo "search --no-floppy --fs-uuid --set ${fs_uuid}"
|
echo "search --no-floppy --fs-uuid --set=root ${fs_uuid}"
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue