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.
This commit is contained in:
fzielcke 2009-08-06 07:05:48 +00:00
parent f56a875639
commit 6dcfcb3291
2 changed files with 8 additions and 3 deletions

View file

@ -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> 2009-08-04 Robert Millan <rmh.grub@aybabtu.com>
Fix a bug resulting in black screen when loading Linux using a Fix a bug resulting in black screen when loading Linux using a

View file

@ -136,9 +136,9 @@ prepare_grub_to_access_device ()
# Abstraction modules aren't auto-loaded. # Abstraction modules aren't auto-loaded.
abstraction="`${grub_probe} --device ${device} --target=abstraction`" abstraction="`${grub_probe} --device ${device} --target=abstraction`"
if [ "x${abstraction}" = "x" ] ; then : ; else for module in ${abstraction} ; do
echo "insmod ${abstraction}" echo "insmod ${module}"
fi done
# If there's a filesystem UUID that GRUB is capable of identifying, use it; # If there's a filesystem UUID that GRUB is capable of identifying, use it;
# otherwise set root as per value in device.map. # otherwise set root as per value in device.map.