summaryrefslogtreecommitdiffstats
path: root/master/debian/qemu_img_exists.patch
diff options
context:
space:
mode:
authorroot <root@arianrhod.panaceas.james.local>2012-11-16 11:52:02 +0000
committerroot <root@arianrhod.panaceas.james.local>2012-11-16 11:52:02 +0000
commita109bb6d0eb936ac4e2a9f0ee46a269a58ec48ce (patch)
tree9a6b9c35465b23ce5871feec5e9ba0c7d5ac7797 /master/debian/qemu_img_exists.patch
downloadgrub-1.99-pq-a109bb6d0eb936ac4e2a9f0ee46a269a58ec48ce.tar.gz
grub-1.99-pq-a109bb6d0eb936ac4e2a9f0ee46a269a58ec48ce.tar.bz2
grub-1.99-pq-a109bb6d0eb936ac4e2a9f0ee46a269a58ec48ce.zip
fish
Diffstat (limited to 'master/debian/qemu_img_exists.patch')
-rw-r--r--master/debian/qemu_img_exists.patch18
1 files changed, 18 insertions, 0 deletions
diff --git a/master/debian/qemu_img_exists.patch b/master/debian/qemu_img_exists.patch
new file mode 100644
index 0000000..b560067
--- /dev/null
+++ b/master/debian/qemu_img_exists.patch
@@ -0,0 +1,18 @@
+Description: Skip partmap test if qemu-img doesn't exist (e.g. on the Hurd)
+Author: Colin Watson <cjwatson@debian.org>
+Forwarded: no
+Last-Update: 2010-11-22
+
+Index: b/tests/partmap_test.in
+===================================================================
+--- a/tests/partmap_test.in
++++ b/tests/partmap_test.in
+@@ -51,6 +51,8 @@
+ echo
+ }
+
++which qemu-img >/dev/null 2>&1 || exit 77
++
+ imgfile=`mktemp "${TMPDIR:-/tmp}/tmp.XXXXXXXXXX"` || exit 1
+ outfile=`mktemp "${TMPDIR:-/tmp}/tmp.XXXXXXXXXX"` || exit 1
+