Fix faking device map for virtio installation
authorArne Fitzenreiter <arne_f@ipfire.org>
Mon, 24 Aug 2009 18:22:30 +0000 (20:22 +0200)
committerArne Fitzenreiter <arne_f@ipfire.org>
Mon, 24 Aug 2009 18:27:21 +0000 (20:27 +0200)
src/patches/grub-0.97_grub-install_virtio.patch

index 432e0f145ab9c12f6eb182c30445a80a2073229b..1905363831cbb4fdf5f82c7181cf814411de1eee 100644 (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.