[Pkg-libvirt-commits] [libvirt] 01/02: Only install libxl configuratin on hosts that support XEN

Guido Guenther agx at moszumanska.debian.org
Sat May 30 13:00:36 UTC 2015


This is an automated email from the git hooks/post-receive script.

agx pushed a commit to annotated tag debian/1.2.16_rc2-2
in repository libvirt.

commit 132348d733312961816cd6913d72b4f3a4f50717
Author: Guido Günther <agx at sigxcpu.org>
Date:   Sat May 30 11:08:50 2015 +0200

    Only install libxl configuratin on hosts that support XEN
---
 debian/rules | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/debian/rules b/debian/rules
index 7f57ae6..0e1220f 100755
--- a/debian/rules
+++ b/debian/rules
@@ -11,6 +11,7 @@ ifneq (,$(findstring $(DEB_HOST_ARCH_OS), linux))
     WITH_LIBXL = --with-libxl
     WITH_VBOX = --with-vbox
     MAKE_CHECK = 1
+    XEN_ENABLED = 1
   else
     WITH_XEN            = --without-xen
     WITH_LIBXL          = --without-libxl
@@ -170,6 +171,10 @@ ifneq (,$(findstring $(DEB_HOST_ARCH_OS), linux))
 	dh_install -p libvirt-daemon-system etc/libvirt/nwfilter/
 	dh_install -p libvirt-clients etc/libvirt/virt-login-shell.conf
 endif
+ifeq ($(XEN_ENABLED), 1)
+	dh_install -p libvirt-daemon-system etc/libvirt/libxl.conf
+	dh_install -p libvirt-daemon-system etc/libvirt/libxl-lockd.conf
+endif
 
 	for l in $(LOGROTATE); do \
 		cp $(CURDIR)/debian/build/daemon/$$l.logrotate \

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-libvirt/libvirt.git



More information about the Pkg-libvirt-commits mailing list