On Wed, 25 Jan 2012 16:43:35 +0100
Kay Sievers <kay.siev...@vrfy.org> wrote:

> On Wed, Jan 25, 2012 at 16:33, Mike Kazantsev <mk.frag...@gmail.com> wrote:
...
> >
> > Not sure if it has to be abstracted via localstatedir or something, but
> > since it's hard-coded in logind anyway, I thought not to bother with it.
> >  logind-install-data-hook:
> >        $(MKDIR_P) -m 0755 \
> > +               $(DESTDIR)$(rootprefix)/var/lib/systemd
> > +       $(MKDIR_P) -m 0755 \
> 
> It probably is: $(localstatedir)/lib. Rootprefix must not be involved.
> That stuff is never in /usr.

Fair enough. Updated version follows.


From c48f23ae82a8efac59f025e2534a97754b279f60 Mon Sep 17 00:00:00 2001
From: Mike Kazantsev <mk.frag...@gmail.com>
Date: Wed, 25 Jan 2012 21:24:02 +0600
Subject: [PATCH] build-sys: add creation of /var/lib/systemd path, used by
 logind

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

diff --git a/Makefile.am b/Makefile.am
index 15190b4..9f2a893 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -1979,6 +1979,8 @@ polkitpolicy_in_files += \
 
 logind-install-data-hook:
        $(MKDIR_P) -m 0755 \
+               $(DESTDIR)$(localstatedir)/lib/systemd
+       $(MKDIR_P) -m 0755 \
                $(DESTDIR)$(systemunitdir)/multi-user.target.wants
        ( cd $(DESTDIR)$(systemunitdir) && \
                rm -f dbus-org.freedesktop.login1.service && \
-- 
1.7.8.1

-- 
Mike Kazantsev // fraggod.net

Attachment: signature.asc
Description: PGP signature

_______________________________________________
systemd-devel mailing list
systemd-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/systemd-devel

Reply via email to