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.
This commit is contained in:
robertmh 2008-06-19 12:31:42 +00:00
parent 3c62a39d26
commit 73940cec58
2 changed files with 7 additions and 6 deletions

View file

@ -1,3 +1,10 @@
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

View file

@ -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