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

Reported by: Tito Keitel.
This commit is contained in:
Vladimir 'phcoder' Serbinenko 2010-07-04 14:23:55 +02:00
parent 6b654bb0a5
commit 653d6e94b0

View file

@ -236,7 +236,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