Skip to content
Snippets Groups Projects
Commit 132348d7 authored by Guido Günther's avatar Guido Günther
Browse files

Only install libxl configuratin on hosts that support XEN

parent 1c8fdbe7
No related branches found
No related tags found
No related merge requests found
......@@ -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 \
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment