From 653d6e94b0a2f5853a7bbab2597d888cd35cc54b Mon Sep 17 00:00:00 2001 From: Vladimir 'phcoder' Serbinenko Date: Sun, 4 Jul 2010 14:23:55 +0200 Subject: [PATCH] * util/i386/efi/grub-install.in: Don't use empty grub_device. Reported by: Tito Keitel. --- util/i386/efi/grub-install.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/util/i386/efi/grub-install.in b/util/i386/efi/grub-install.in index 7fc78b434..269317cd0 100644 --- a/util/i386/efi/grub-install.in +++ b/util/i386/efi/grub-install.in @@ -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