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-core30~5 X-Git-Url: http://git.ipfire.org/?p=people%2Fpmueller%2Fipfire-2.x.git;a=commitdiff_plain;h=1ccd3c17a2309b4df8b1015fcc4d8a698160d64f;ds=sidebyside 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.