* util/grub-mkconfig_lib.in (prepare_grub_to_access_device): Load
partmap before abstraction.
This commit is contained in:
parent
535c191059
commit
2a5e94d84a
2 changed files with 11 additions and 6 deletions
|
@ -1,3 +1,8 @@
|
|||
2011-06-24 Vladimir Serbinenko <phcoder@gmail.com>
|
||||
|
||||
* util/grub-mkconfig_lib.in (prepare_grub_to_access_device): Load
|
||||
partmap before abstraction.
|
||||
|
||||
2011-06-24 Alexander Kurtz <kurtz.alex@googlemail.com>
|
||||
|
||||
* util/grub-mkconfig_lib.in: Add missing quotes.
|
||||
|
|
|
@ -105,12 +105,6 @@ prepare_grub_to_access_device ()
|
|||
{
|
||||
device="$1"
|
||||
|
||||
# Abstraction modules aren't auto-loaded.
|
||||
abstraction="`"${grub_probe}" --device "${device}" --target=abstraction`"
|
||||
for module in ${abstraction} ; do
|
||||
echo "insmod ${module}"
|
||||
done
|
||||
|
||||
partmap="`"${grub_probe}" --device "${device}" --target=partmap`"
|
||||
for module in ${partmap} ; do
|
||||
case "${module}" in
|
||||
|
@ -121,6 +115,12 @@ prepare_grub_to_access_device ()
|
|||
esac
|
||||
done
|
||||
|
||||
# Abstraction modules aren't auto-loaded.
|
||||
abstraction="`"${grub_probe}" --device "${device}" --target=abstraction`"
|
||||
for module in ${abstraction} ; do
|
||||
echo "insmod ${module}"
|
||||
done
|
||||
|
||||
fs="`"${grub_probe}" --device "${device}" --target=fs`"
|
||||
for module in ${fs} ; do
|
||||
echo "insmod ${module}"
|
||||
|
|
Loading…
Reference in a new issue