From: Arne Fitzenreiter Date: Mon, 24 Aug 2009 18:22:30 +0000 (+0200) Subject: Fix faking device map for virtio installation X-Git-Tag: v2.5-core31~50^2~10 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=f7ef9f2d27c9d95f27bb68549d6c72530ce8702b;p=people%2Fstevee%2Fipfire-2.x.git Fix faking device map for virtio installation --- diff --git a/src/patches/grub-0.97_grub-install_virtio.patch b/src/patches/grub-0.97_grub-install_virtio.patch index 432e0f145a..1905363831 100644 --- a/src/patches/grub-0.97_grub-install_virtio.patch +++ b/src/patches/grub-0.97_grub-install_virtio.patch @@ -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.