Fix faking device map for virtio installation

This commit is contained in:
Arne Fitzenreiter
2009-08-24 20:22:30 +02:00
parent 08098df2d7
commit 1ccd3c17a2

View File

@@ -21,7 +21,7 @@ diff -Naur grub-0.97.org/util/grub-install.in grub-0.97/util/grub-install.in
:
else
+
+ tmp_disk=`echo "$1" | grep "/dev/vd"`
+ tmp_disk=`echo "$install_device" | grep "/dev/vd"`
+ if test "x$tmp_disk" = x; then
+
# Create a safe temporary file.