Commit 73940cec authored by robertmh's avatar robertmh

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

        * util/update-grub_lib.in (prepare_grub_to_access_device): Remove
        check for partition that provides /boot/grub.  Its logic is flawed,
        as it prevents prepare_grub_to_access_device() from being called
        multiple times.
parent 3c62a39d
2008-06-19 Robert Millan <rmh@aybabtu.com>
* util/update-grub_lib.in (prepare_grub_to_access_device): Remove
check for partition that provides /boot/grub. Its logic is flawed,
as it prevents prepare_grub_to_access_device() from being called
multiple times.
2008-06-19 Robert Millan <rmh@aybabtu.com>
* util/update-grub_lib.in (prepare_grub_to_access_device): Issue
......
......@@ -114,12 +114,6 @@ prepare_grub_to_access_device ()
{
device=$1
# 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_probe} --target=device /boot/grub`" ] ; then
return
fi
# Abstraction modules aren't auto-loaded.
abstraction="`${grub_probe} --device ${device} --target=abstraction`"
if [ "x${abstraction}" = "x" ] ; then : ; else
......
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