]> git.ipfire.org Git - thirdparty/grub.git/commitdiff
2009-08-06 Felix Zielcke <fzielcke@z-51.de>
authorfzielcke <fzielcke@localhost>
Thu, 6 Aug 2009 07:05:48 +0000 (07:05 +0000)
committerfzielcke <fzielcke@localhost>
Thu, 6 Aug 2009 07:05:48 +0000 (07:05 +0000)
* util/grub-mkconfig_lib.in (prepare_grub_to_access_device): Fix
handling of multiple abstraction modules.

ChangeLog
util/grub-mkconfig_lib.in

index 44f14a0d43fc0e825ab53f256c8a1d22d83e05f8..68134df3e217b79a4caa3b38f67ee25cb60382f5 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2009-08-06  Felix Zielcke  <fzielcke@z-51.de>
+
+       * util/grub-mkconfig_lib.in (prepare_grub_to_access_device): Fix
+       handling of multiple abstraction modules.
+
 2009-08-04  Robert Millan  <rmh.grub@aybabtu.com>
 
        Fix a bug resulting in black screen when loading Linux using a
index 9afbd3b1f1501784c7f836c986abad270c93fd94..d27b72ea1315216e64e9abe131847bdbc143424c 100644 (file)
@@ -136,9 +136,9 @@ prepare_grub_to_access_device ()
 
   # Abstraction modules aren't auto-loaded.
   abstraction="`${grub_probe} --device ${device} --target=abstraction`"
-  if [ "x${abstraction}" = "x" ] ; then : ; else
-    echo "insmod ${abstraction}"
-  fi
+  for module in ${abstraction} ; do 
+    echo "insmod ${module}"
+  done
 
   # If there's a filesystem UUID that GRUB is capable of identifying, use it;
   # otherwise set root as per value in device.map.