* util/ieee1275/grub-install.in: Don't use empty grub_device.
Reported by: Lennart Sorensen.
This commit is contained in:
parent
0ac33bf5eb
commit
463711215f
2 changed files with 12 additions and 7 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue