Another fix for grub-install for virtio
authorArne Fitzenreiter <arne_f@ipfire.org>
Wed, 26 Aug 2009 03:18:12 +0000 (05:18 +0200)
committerArne Fitzenreiter <arne_f@ipfire.org>
Wed, 26 Aug 2009 03:18:12 +0000 (05:18 +0200)
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