summaryrefslogtreecommitdiffstats
path: root/recipes-extended/libvirt/libvirt-1.3.5/0001-Added-configure-variable-for-placing-systemd-untis-l.patch
diff options
context:
space:
mode:
Diffstat (limited to 'recipes-extended/libvirt/libvirt-1.3.5/0001-Added-configure-variable-for-placing-systemd-untis-l.patch')
-rw-r--r--recipes-extended/libvirt/libvirt-1.3.5/0001-Added-configure-variable-for-placing-systemd-untis-l.patch55
1 files changed, 0 insertions, 55 deletions
diff --git a/recipes-extended/libvirt/libvirt-1.3.5/0001-Added-configure-variable-for-placing-systemd-untis-l.patch b/recipes-extended/libvirt/libvirt-1.3.5/0001-Added-configure-variable-for-placing-systemd-untis-l.patch
deleted file mode 100644
index a64739c3..00000000
--- a/recipes-extended/libvirt/libvirt-1.3.5/0001-Added-configure-variable-for-placing-systemd-untis-l.patch
+++ /dev/null
@@ -1,55 +0,0 @@
1From 531178d7fbb5d4b3404766cfd0fc999398cccd58 Mon Sep 17 00:00:00 2001
2From: Amarnath Valluri <amarnath.valluri@intel.com>
3Date: Wed, 8 Feb 2017 18:39:48 +0200
4Subject: [PATCH] Added configure variable for placing systemd untis location
5
6Upstream-Status: Pending
7
8Signed-off-by: Amarnath Valluri <amarnath.valluri@intel.com>
9---
10 configure.ac | 3 +++
11 daemon/Makefile.am | 1 -
12 tools/Makefile.am | 1 -
13 3 files changed, 3 insertions(+), 2 deletions(-)
14
15diff --git a/configure.ac b/configure.ac
16index 0e5b8e3..5a6408c 100644
17--- a/configure.ac
18+++ b/configure.ac
19@@ -2687,6 +2687,9 @@ AC_DEFINE_UNQUOTED([isbase64],[libvirt_gl_isbase64],[Hack to avoid symbol clash]
20 AC_DEFINE_UNQUOTED([base64_encode],[libvirt_gl_base64_encode],[Hack to avoid symbol clash])
21 AC_DEFINE_UNQUOTED([base64_encode_alloc],[libvirt_gl_base64_encode_alloc],[Hack to avoid symbol clash])
22
23+AC_ARG_VAR(SYSTEMD_UNIT_DIR, 'location for systemd units, defautls to /lib/systemd/system')
24+AS_IF([test "x$SYSTEMD_UNIT_DIR" = "x"], [SYSTEMD_UNIT_DIR="/lib/systemd/system"])
25+
26 AC_CONFIG_FILES([run],
27 [chmod +x,-w run])
28 AC_CONFIG_FILES([\
29diff --git a/daemon/Makefile.am b/daemon/Makefile.am
30index edb75e8..2ab42a6 100644
31--- a/daemon/Makefile.am
32+++ b/daemon/Makefile.am
33@@ -449,7 +449,6 @@ endif ! LIBVIRT_INIT_SCRIPT_UPSTART
34
35 if LIBVIRT_INIT_SCRIPT_SYSTEMD
36
37-SYSTEMD_UNIT_DIR = /lib/systemd/system
38 BUILT_SOURCES += libvirtd.service
39
40 install-init-systemd: install-sysconfig libvirtd.service
41diff --git a/tools/Makefile.am b/tools/Makefile.am
42index 27ecbf1..8cefe1a 100644
43--- a/tools/Makefile.am
44+++ b/tools/Makefile.am
45@@ -380,7 +380,6 @@ libvirt-guests.init: libvirt-guests.init.in libvirt-guests.sh
46
47
48 EXTRA_DIST += libvirt-guests.service.in
49-SYSTEMD_UNIT_DIR = /lib/systemd/system
50
51 if LIBVIRT_INIT_SCRIPT_SYSTEMD
52 install-systemd: libvirt-guests.service install-sysconfig libvirt-guests.sh
53--
542.7.4
55