build-sys: add creation of /var/lib/systemd path, used by logind

This commit is contained in:
Mike Kazantsev 2012-01-27 19:56:44 +01:00 committed by Lennart Poettering
parent ab8da6c266
commit d8c9d1f9e4

View 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)