Another fix for grub-install for virtio
[people/pmueller/ipfire-2.x.git] / src / patches / grub-0.97_grub-install_virtio.patch
index 1905363831cbb4fdf5f82c7181cf814411de1eee..7941ca741844a62da1a4e2e8a0abcfa52a43ae33 100644 (file)
@@ -34,7 +34,7 @@ diff -Naur grub-0.97.org/util/grub-install.in grub-0.97/util/grub-install.in
 +
 +  else
 +      echo "Create fake device.map for vitio device $1" 1>&2
-+      echo "(hd0)    $1" > $device_map
++      echo "(hd0)    $install_device" > $device_map
 +  fi
  fi