Commit 0aac2f79 authored by robertmh's avatar robertmh

2008-06-17 Robert Millan <rmh@aybabtu.com>

        * util/update-grub_lib.in (prepare_grub_to_access_device): Use
        /boot/grub for the check in last commit, not /boot (they could be
        different partitions).
parent 3cca7ef3
2008-06-17 Robert Millan <rmh@aybabtu.com>
* util/update-grub_lib.in (prepare_grub_to_access_device): Use
/boot/grub for the check in last commit, not /boot (they could be
different partitions).
2008-06-16 Robert Millan <rmh@aybabtu.com>
* util/update-grub_lib.in (prepare_grub_to_access_device): If we were
......
......@@ -114,9 +114,9 @@ prepare_grub_to_access_device ()
{
device=$1
# If our target is the same partition that provides /boot, our $root
# If our target is the same partition that provides /boot/grub, our $root
# is already set to what we want, so no need to bother with UUIDs.
if [ "x${device}" = "x${GRUB_DEVICE_BOOT}" ] ; then
if [ "x${device}" = "x`${grub_probe} --target=device /boot/grub`" ] ; then
return
fi
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment