Revision: 2470
http://svn.sv.gnu.org/viewvc/?view=rev&root=grub&revision=2470
Author: fzielcke
Date: 2009-08-06 07:05:48 +0000 (Thu, 06 Aug 2009)
Log Message:
-----------
2009-08-06 Felix Zielcke <[email protected]>
* util/grub-mkconfig_lib.in (prepare_grub_to_access_device): Fix
handling of multiple abstraction modules.
Modified Paths:
--------------
trunk/grub2/ChangeLog
trunk/grub2/util/grub-mkconfig_lib.in
Modified: trunk/grub2/ChangeLog
===================================================================
--- trunk/grub2/ChangeLog 2009-08-04 21:28:19 UTC (rev 2469)
+++ trunk/grub2/ChangeLog 2009-08-06 07:05:48 UTC (rev 2470)
@@ -1,3 +1,8 @@
+2009-08-06 Felix Zielcke <[email protected]>
+
+ * util/grub-mkconfig_lib.in (prepare_grub_to_access_device): Fix
+ handling of multiple abstraction modules.
+
2009-08-04 Robert Millan <[email protected]>
Fix a bug resulting in black screen when loading Linux using a
Modified: trunk/grub2/util/grub-mkconfig_lib.in
===================================================================
--- trunk/grub2/util/grub-mkconfig_lib.in 2009-08-04 21:28:19 UTC (rev
2469)
+++ trunk/grub2/util/grub-mkconfig_lib.in 2009-08-06 07:05:48 UTC (rev
2470)
@@ -136,9 +136,9 @@
# 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.