chiark / gitweb /
build-sys: add creation of /var/lib/systemd path, used by logind
authorMike Kazantsev <mk.fraggod@gmail.com>
Fri, 27 Jan 2012 18:56:44 +0000 (19:56 +0100)
committerLennart Poettering <lennart@poettering.net>
Fri, 27 Jan 2012 18:56:44 +0000 (19:56 +0100)
Makefile.am

index 15190b4..5473623 100644 (file)
@@ -1979,7 +1979,8 @@ polkitpolicy_in_files += \
 
 logind-install-data-hook:
        $(MKDIR_P) -m 0755 \
-               $(DESTDIR)$(systemunitdir)/multi-user.target.wants
+               $(DESTDIR)$(systemunitdir)/multi-user.target.wants \
+                $(DESTDIR)$(localstatedir)/lib/systemd
        ( cd $(DESTDIR)$(systemunitdir) && \
                rm -f dbus-org.freedesktop.login1.service && \
                $(LN_S) systemd-logind.service dbus-org.freedesktop.login1.service)