]> git.ipfire.org Git - thirdparty/grub.git/commitdiff
2008-06-01 Robert Millan <rmh@aybabtu.com>
authorrobertmh <robertmh@localhost>
Sun, 1 Jun 2008 10:42:48 +0000 (10:42 +0000)
committerrobertmh <robertmh@localhost>
Sun, 1 Jun 2008 10:42:48 +0000 (10:42 +0000)
        * util/update-grub_lib.in (prepare_grub_to_access_device): Generate
        code that is backward compatible with pre-uuid search command.

ChangeLog
util/update-grub_lib.in

index 7276157a3ba73888fb4747861c7f4537a2b60d4a..e5ddeda692462b04b478dcd3976542c4173ab28c 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2008-06-01  Robert Millan  <rmh@aybabtu.com>
+
+       * util/update-grub_lib.in (prepare_grub_to_access_device): Generate
+       code that is backward compatible with pre-uuid search command.
+
 2008-05-31  Robert Millan  <rmh@aybabtu.com>
 
        * disk/i386/pc/biosdisk.c (grub_biosdisk_iterate): Iterate through
index 75c5bbf5dc7b3e1cf3be3a55b3c0b212ae5d21ff..969ec30113728a3ada6ef26b9c5e3c4fc1454f4b 100644 (file)
@@ -116,10 +116,9 @@ prepare_grub_to_access_device ()
 
   # If there's a filesystem UUID that GRUB is capable of identifiing, use it;
   # otherwise set root as per value in device.map.
+  echo "set root=`${grub_probe} --device ${device} --target=drive`"
   if fs_uuid="`${grub_probe} --device ${device} --target=fs_uuid 2> /dev/null`" ; then
     echo "search --fs-uuid --set ${fs_uuid}"
-  else
-    echo "set root=`${grub_probe} --device ${device} --target=drive`"
   fi
 
   # Abstraction modules aren't auto-loaded.