2008-06-19 Robert Millan <rmh@aybabtu.com>
* util/update-grub_lib.in (prepare_grub_to_access_device): Issue "insmod" command directly when abstraction modules are needed, instead of reliing on GRUB_PRELOAD_MODULES (which had no effect since it had already been processed).
This commit is contained in:
parent
47395a42d7
commit
3c62a39d26
2 changed files with 13 additions and 3 deletions
|
@ -1,3 +1,10 @@
|
||||||
|
2008-06-19 Robert Millan <rmh@aybabtu.com>
|
||||||
|
|
||||||
|
* util/update-grub_lib.in (prepare_grub_to_access_device): Issue
|
||||||
|
"insmod" command directly when abstraction modules are needed,
|
||||||
|
instead of reliing on GRUB_PRELOAD_MODULES (which had no effect
|
||||||
|
since it had already been processed).
|
||||||
|
|
||||||
2008-06-19 Pavel Roskin <proski@gnu.org>
|
2008-06-19 Pavel Roskin <proski@gnu.org>
|
||||||
|
|
||||||
* conf/i386-efi.rmk: Recompile grub-mkimage.c if Makefile has
|
* conf/i386-efi.rmk: Recompile grub-mkimage.c if Makefile has
|
||||||
|
|
|
@ -120,15 +120,18 @@ prepare_grub_to_access_device ()
|
||||||
return
|
return
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
# Abstraction modules aren't auto-loaded.
|
||||||
|
abstraction="`${grub_probe} --device ${device} --target=abstraction`"
|
||||||
|
if [ "x${abstraction}" = "x" ] ; then : ; else
|
||||||
|
echo "insmod ${abstraction}"
|
||||||
|
fi
|
||||||
|
|
||||||
# If there's a filesystem UUID that GRUB is capable of identifiing, use it;
|
# If there's a filesystem UUID that GRUB is capable of identifiing, use it;
|
||||||
# otherwise set root as per value in device.map.
|
# otherwise set root as per value in device.map.
|
||||||
echo "set root=`${grub_probe} --device ${device} --target=drive`"
|
echo "set root=`${grub_probe} --device ${device} --target=drive`"
|
||||||
if fs_uuid="`${grub_probe} --device ${device} --target=fs_uuid 2> /dev/null`" ; then
|
if fs_uuid="`${grub_probe} --device ${device} --target=fs_uuid 2> /dev/null`" ; then
|
||||||
echo "search --fs-uuid --set ${fs_uuid}"
|
echo "search --fs-uuid --set ${fs_uuid}"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# Abstraction modules aren't auto-loaded.
|
|
||||||
GRUB_PRELOAD_MODULES="${GRUB_PRELOAD_MODULES} `${grub_probe} --device ${device} --target=abstraction`"
|
|
||||||
}
|
}
|
||||||
|
|
||||||
font_path ()
|
font_path ()
|
||||||
|
|
Loading…
Reference in a new issue