From 5ec4b22b777b4505d159c6e8d1631d4d774a7be7 Mon Sep 17 00:00:00 2001 From: Eric Blake Date: Fri, 4 Jan 2013 13:50:39 -0700 Subject: [PATCH] build: .service files don't need to be executable See also commit 66ff2dd, where we avoided installing these files as executables. * daemon/Makefile.am (libvirtd.service): Drop chmod. * tools/Makefile.am (libvirt-guests.service): Likewise. * src/Makefile.am (virtlockd.service, virtlockd.socket): Likewise. --- daemon/Makefile.am | 1 - src/Makefile.am | 2 -- tools/Makefile.am | 1 - 3 files changed, 4 deletions(-) diff --git a/daemon/Makefile.am b/daemon/Makefile.am index 60112ffe7f..7bcc7e24ff 100644 --- a/daemon/Makefile.am +++ b/daemon/Makefile.am @@ -354,7 +354,6 @@ libvirtd.service: libvirtd.service.in $(top_builddir)/config.status -e 's|[@]sbindir[@]|$(sbindir)|g' \ -e 's|[@]sysconfdir[@]|$(sysconfdir)|g' \ < $< > $@-t && \ - chmod a+x $@-t && \ mv $@-t $@ diff --git a/src/Makefile.am b/src/Makefile.am index 6dfb00263f..0c8be2052e 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -1709,14 +1709,12 @@ virtlockd.service: locking/virtlockd.service.in $(top_builddir)/config.status $(AM_V_GEN)sed \ -e 's|[@]sbindir[@]|$(sbindir)|g' \ < $< > $@-t && \ - chmod a+x $@-t && \ mv $@-t $@ virtlockd.socket: locking/virtlockd.socket.in $(top_builddir)/config.status $(AM_V_GEN)sed \ -e 's|[@]localstatedir[@]|$(localstatedir)|g' \ < $< > $@-t && \ - chmod a+x $@-t && \ mv $@-t $@ diff --git a/tools/Makefile.am b/tools/Makefile.am index 58dbfe7b05..37759149e9 100644 --- a/tools/Makefile.am +++ b/tools/Makefile.am @@ -260,7 +260,6 @@ libvirt-guests.service: libvirt-guests.service.in $(top_builddir)/config.status -e 's|[@]sysconfdir[@]|$(sysconfdir)|g' \ -e 's|[@]libexecdir[@]|$(libexecdir)|g' \ < $< > $@-t && \ - chmod a+x $@-t && \ mv $@-t $@