[libvirt] [PATCH] Don't install systemd service files executable

Guido Günther agx at sigxcpu.org
Tue Jun 26 08:26:11 UTC 2012


since they aren't. Detected by Debian's lintian.
---
 daemon/Makefile.am |    2 +-
 tools/Makefile.am  |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/daemon/Makefile.am b/daemon/Makefile.am
index fbb0ae1..473fa98 100644
--- a/daemon/Makefile.am
+++ b/daemon/Makefile.am
@@ -319,7 +319,7 @@ BUILT_SOURCES += libvirtd.service
 
 install-init-systemd: install-sysconfig libvirtd.service
 	$(MKDIR_P) $(DESTDIR)$(SYSTEMD_UNIT_DIR)
-	$(INSTALL_SCRIPT) libvirtd.service \
+	$(INSTALL_SCRIPT) -m0644 libvirtd.service \
 	  $(DESTDIR)$(SYSTEMD_UNIT_DIR)/libvirtd.service
 
 uninstall-init-systemd: uninstall-sysconfig
diff --git a/tools/Makefile.am b/tools/Makefile.am
index 7ca5599..79baf19 100644
--- a/tools/Makefile.am
+++ b/tools/Makefile.am
@@ -198,7 +198,7 @@ SYSTEMD_UNIT_DIR = /lib/systemd/system
 if LIBVIRT_INIT_SCRIPT_SYSTEMD
 install-systemd: libvirt-guests.service install-initscript install-sysconfig
 	$(MKDIR_P) $(DESTDIR)$(SYSTEMD_UNIT_DIR)
-	$(INSTALL_SCRIPT) libvirt-guests.service \
+	$(INSTALL_SCRIPT) -m0644 libvirt-guests.service \
 	  $(DESTDIR)$(SYSTEMD_UNIT_DIR)/libvirt-guests.service
 
 uninstall-systemd: uninstall-initscript uninstall-sysconfig
-- 
1.7.10.4




More information about the libvir-list mailing list