[systemd-devel] [PATCH 1/2] create dbussystemservicedir

Michael Olbrich m.olbrich at pengutronix.de
Wed May 4 02:01:54 PDT 2011


otherwise building fails if it doesn't exist:

( cd <DESTDIR>/usr/share/dbus-1/services && \
                rm -f org.freedesktop.systemd1.service && \
                ln -s ../system-services/org.freedesktop.systemd1.service org.freedesktop.systemd1.service )
/bin/sh: line 0: cd: <DESTDIR>/usr/share/dbus-1/services: No such file or directory

---
This happens when installing into a separate DESTDIR, e.g. for easier packaging.

Regards,
Michael

 Makefile.am |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/Makefile.am b/Makefile.am
index 873090e..e4cf1f5 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -1340,6 +1340,7 @@ endif
 		$(DESTDIR)$(pkgsysconfdir)/system/multi-user.target.wants \
 		$(DESTDIR)$(pkgsysconfdir)/system/getty.target.wants \
 		$(DESTDIR)$(pkgsysconfdir)/user \
+		$(DESTDIR)$(dbussessionservicedir) \
 		$(DESTDIR)$(sysconfdir)/xdg/systemd
 	( cd $(DESTDIR)$(sysconfdir)/xdg/systemd/ && \
 		rm -f user && \
-- 
1.7.2.3



More information about the systemd-devel mailing list