chiark / gitweb /
units: add tmp.service to file list
[elogind.git] / Makefile.am
index 64e5ba4197d02419607cb658eb1c74937c66f02e..0ac6b1acea4d7dac552dd1a4fabeb8ab06bf204a 100644 (file)
@@ -173,6 +173,7 @@ dist_systemunit_DATA = \
        units/sys-kernel-security.automount \
        units/sys-kernel-security.mount \
        units/tmp.mount \
+       units/tmp.service \
        units/var-lock.mount \
        units/var-lock.service \
        units/var-run.mount \
@@ -975,6 +976,9 @@ install-data-hook:
                rm -f default.target ctrl-alt-del.target && \
                $(LN_S) graphical.target default.target && \
                $(LN_S) reboot.target ctrl-alt-del.target )
+       ( cd $(DESTDIR)$(systemunitdir)/multi-user.target.wants && \
+               rm -f getty.target && \
+               $(LN_S) ../getty.target getty.target )
        ( cd $(DESTDIR)$(pkgsysconfdir)/system/getty.target.wants && \
                rm -f getty@tty1.service getty@tty2.service getty@tty3.service getty@tty4.service getty@tty5.service getty@tty6.service && \
                $(LN_S) $(systemunitdir)/getty@.service getty@tty1.service && \
@@ -984,8 +988,7 @@ install-data-hook:
                $(LN_S) $(systemunitdir)/getty@.service getty@tty5.service && \
                $(LN_S) $(systemunitdir)/getty@.service getty@tty6.service )
        ( cd $(DESTDIR)$(pkgsysconfdir)/system/multi-user.target.wants && \
-               rm -f getty.target remote-fs.target && \
-               $(LN_S) $(systemunitdir)/getty.target getty.target && \
+               rm -f remote-fs.target && \
                $(LN_S) $(systemunitdir)/remote-fs.target remote-fs.target )
        ( cd $(DESTDIR)$(systemunitdir)/sysinit.target.wants && \
                rm -f dev-hugepages.automount \