libvirt/66ff2ddc-virtlockd-systemd-file-perms.patch

25 lines
868 B
Diff
Raw Normal View History

commit 66ff2ddc29298da43b3be3b7780683418e2ead76
Author: Guido Günther <agx@sigxcpu.org>
Date: Thu Jan 3 22:39:14 2013 +0100
Install virtlockd.{socket,service} non executable
since they're not scripts but systemd service files.
Index: libvirt-1.0.1/src/Makefile.am
===================================================================
--- libvirt-1.0.1.orig/src/Makefile.am
+++ libvirt-1.0.1/src/Makefile.am
@@ -1684,9 +1684,9 @@ DISTCLEANFILES += virtlockd.service virt
install-systemd: virtlockd.service virtlockd.socket install-sysconfig
$(MKDIR_P) $(DESTDIR)$(SYSTEMD_UNIT_DIR)
- $(INSTALL_SCRIPT) virtlockd.service \
+ $(INSTALL_DATA) virtlockd.service \
$(DESTDIR)$(SYSTEMD_UNIT_DIR)/
- $(INSTALL_SCRIPT) virtlockd.socket \
+ $(INSTALL_DATA) virtlockd.socket \
$(DESTDIR)$(SYSTEMD_UNIT_DIR)/
uninstall-systemd: uninstall-sysconfig