libvirt/5ec4b22b-script-fixes3.patch

58 lines
1.9 KiB
Diff
Raw Normal View History

commit 5ec4b22b777b4505d159c6e8d1631d4d774a7be7
Author: Eric Blake <eblake@redhat.com>
Date: Fri Jan 4 13:50:39 2013 -0700
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.
Index: libvirt-1.0.1/daemon/Makefile.am
===================================================================
--- libvirt-1.0.1.orig/daemon/Makefile.am
+++ libvirt-1.0.1/daemon/Makefile.am
@@ -354,7 +354,6 @@ libvirtd.service: libvirtd.service.in $(
-e 's|[@]sbindir[@]|$(sbindir)|g' \
-e 's|[@]sysconfdir[@]|$(sysconfdir)|g' \
< $< > $@-t && \
- chmod a+x $@-t && \
mv $@-t $@
Index: libvirt-1.0.1/src/Makefile.am
===================================================================
--- libvirt-1.0.1.orig/src/Makefile.am
+++ libvirt-1.0.1/src/Makefile.am
@@ -1706,14 +1706,12 @@ virtlockd.service: locking/virtlockd.ser
$(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 $@
Index: libvirt-1.0.1/tools/Makefile.am
===================================================================
--- libvirt-1.0.1.orig/tools/Makefile.am
+++ libvirt-1.0.1/tools/Makefile.am
@@ -260,7 +260,6 @@ libvirt-guests.service: libvirt-guests.s
-e 's|[@]sysconfdir[@]|$(sysconfdir)|g' \
-e 's|[@]libexecdir[@]|$(libexecdir)|g' \
< $< > $@-t && \
- chmod a+x $@-t && \
mv $@-t $@