[Pkg-libvirt-commits] [SCM] Libguestfs Debian packaging branch, master, updated. debian/1%1.20.7-3

Hilko Bengen bengen at debian.org
Sat Jun 1 11:05:25 UTC 2013


The following commit has been merged in the master branch:
commit 2771cb5b8f9d63ac5e2a7c58bfe94919ec96a13c
Author: Hilko Bengen <bengen at debian.org>
Date:   Thu May 30 22:20:35 2013 +0200

    Select qemu-system (instead of kvm) at build-time

diff --git a/debian/rules b/debian/rules
index f91c03c..7841d1d 100755
--- a/debian/rules
+++ b/debian/rules
@@ -9,12 +9,16 @@ RUBY_DEFAULT   := $(shell which ruby | xargs readlink -f | xargs basename)
 LUAS           := lua5.1 lua5.2
 LUA_DEFAULT    := lua5.1
 
+DEB_HOST_GNU_CPU := $(shell dpkg-architecture -qDEB_HOST_GNU_CPU)
+QEMU_SYSTEM      := qemu-system-$(DEB_HOST_GNU_CPU)
+
 DEFAULT_CONFIG_FLAGS = \
-	--disable-appliance  \
-	--with-readline	     \
-	--disable-haskell    \
-	--disable-php	     \
-	--enable-gtk-doc
+	--disable-appliance        \
+	--with-readline	           \
+	--disable-haskell          \
+	--disable-php	           \
+	--enable-gtk-doc           \
+	--with-qemu=$(QEMU_SYSTEM)
 
 BARE_CONFIG_FLAGS = \
 	$(DEFAULT_CONFIG_FLAGS) \

-- 
Libguestfs Debian packaging



More information about the Pkg-libvirt-commits mailing list