summaryrefslogtreecommitdiff
path: root/Makefile.am
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile.am')
-rw-r--r--Makefile.am7
1 files changed, 7 insertions, 0 deletions
diff --git a/Makefile.am b/Makefile.am
index d233da6ca5..f5d46904af 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -905,6 +905,7 @@ install-data-hook:
$(DESTDIR)$(systemunitdir)/sockets.target.wants \
$(DESTDIR)$(systemunitdir)/sysinit.target.wants \
$(DESTDIR)$(systemunitdir)/shutdown.target.wants \
+ $(DESTDIR)$(systemunitdir)/local-fs.target.wants \
$(DESTDIR)$(systemunitdir)/runlevel1.target.wants \
$(DESTDIR)$(systemunitdir)/runlevel2.target.wants \
$(DESTDIR)$(systemunitdir)/runlevel3.target.wants \
@@ -946,6 +947,12 @@ install-data-hook:
$(LN_S) ../systemd-update-utmp-shutdown.service && \
$(LN_S) ../hwclock-save.service && \
$(LN_S) ../systemd-random-seed-save.service )
+ ( cd $(DESTDIR)$(systemunitdir)/local-fs.target.wants && \
+ rm -f systemd-update-utmp-shutdown.service \
+ var-run.service \
+ var-lock.service && \
+ $(LN_S) ../var-run.service && \
+ $(LN_S) ../var-lock.service )
( cd $(DESTDIR)$(sessionunitdir) && \
rm -f shutdown.target sockets.target local-fs.target swap.target bluetooth.target printer.target && \
$(LN_S) $(systemunitdir)/shutdown.target shutdown.target && \