]> git.ipfire.org Git - thirdparty/grub.git/commitdiff
* util/i386/efi/grub-install.in: Don't use empty grub_device.
authorVladimir 'phcoder' Serbinenko <phcoder@gmail.com>
Sun, 4 Jul 2010 12:23:55 +0000 (14:23 +0200)
committerVladimir 'phcoder' Serbinenko <phcoder@gmail.com>
Sun, 4 Jul 2010 12:23:55 +0000 (14:23 +0200)
Reported by: Tito Keitel.

util/i386/efi/grub-install.in

index 7fc78b434ddf92a24bba4bc78a169a6f8d4176ad..269317cd0ecd4c1cc6fb328323ae2addbfaf41d2 100644 (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