]> git.ipfire.org Git - thirdparty/grub.git/commitdiff
2008-06-19 Robert Millan <rmh@aybabtu.com>
authorrobertmh <robertmh@localhost>
Thu, 19 Jun 2008 12:31:42 +0000 (12:31 +0000)
committerrobertmh <robertmh@localhost>
Thu, 19 Jun 2008 12:31:42 +0000 (12:31 +0000)
        * 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.

ChangeLog
util/update-grub_lib.in

index f28519489d60b67e8c81a91535e914dcadc5486d..e3ab853dc65a8bd0e70f82a1a9cf6632c5d0c869 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -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
index b7d141e4ec8f07fff2e3fe264485e9a85896cf29..ed4029a61ba9e8f365a9491cde4c9202b04a4a90 100644 (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