* util/ieee1275/grub-install.in: Don't use empty grub_device.

Reported by: Lennart Sorensen.
This commit is contained in:
Vladimir 'phcoder' Serbinenko 2010-07-28 18:25:48 +03:00
parent 0ac33bf5eb
commit 463711215f
2 changed files with 12 additions and 7 deletions

View file

@ -212,7 +212,7 @@ fi
# this command is allowed to fail (--target=fs already grants us that the
# filesystem will be accessible).
partmap_module=
for x in `$grub_probe --target=partmap --device ${grub_device} 2> /dev/null`; do
for x in `$grub_probe --target=partmap --device-map=${device_map} ${grubdir} 2> /dev/null`; do
partmap_module="$partmap_module part_$x";
done