diff --git a/ChangeLog b/ChangeLog index 44f14a0d4..68134df3e 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2009-08-06 Felix Zielcke + + * util/grub-mkconfig_lib.in (prepare_grub_to_access_device): Fix + handling of multiple abstraction modules. + 2009-08-04 Robert Millan Fix a bug resulting in black screen when loading Linux using a diff --git a/util/grub-mkconfig_lib.in b/util/grub-mkconfig_lib.in index 9afbd3b1f..d27b72ea1 100644 --- a/util/grub-mkconfig_lib.in +++ b/util/grub-mkconfig_lib.in @@ -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.