[PATCH v2 2/3] src: Only install SysV init scripts when libvirtd is built

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



This is consistent with the way we already handle
configuration for other init systems such as upstart and
systemd.

Signed-off-by: Andrea Bolognani <abologna@xxxxxxxxxx>
---
 src/Makefile.am | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/src/Makefile.am b/src/Makefile.am
index 0a8f54120d..82a96adb99 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -810,6 +810,7 @@ install-logrotate:
 uninstall-logrotate:
 endif ! WITH_LIBVIRTD
 
+if WITH_LIBVIRTD
 if LIBVIRT_INIT_SCRIPT_RED_HAT
 initdir = $(sysconfdir)/rc.d/init.d
 
@@ -830,6 +831,10 @@ else ! LIBVIRT_INIT_SCRIPT_RED_HAT
 install-init::
 uninstall-init::
 endif ! LIBVIRT_INIT_SCRIPT_RED_HAT
+else ! WITH_LIBVIRTD
+install-init::
+uninstall-init::
+endif ! WITH_LIBVIRTD
 
 
 %.8: %.8.in $(top_srcdir)/configure.ac
-- 
2.20.1

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list



[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]

  Powered by Linux