chiark / gitweb /
target: add default unit ordering deps from the unit not the target
[elogind.git] / Makefile.am
index b40aa96c34fe96e17dde1277877c9eeb26e6ce74..e1fe9e657f2308a1ba04cbed08deb667eb37a4f3 100644 (file)
@@ -972,6 +972,9 @@ if TARGET_DEBIAN
                $(LN_S) ../umountfs.service umountfs.service && \
                $(LN_S) ../umountnfs.service umountnfs.service && \
                $(LN_S) ../umountroot.service umountroot.service )
+       ( cd $(DESTDIR)$(systemunitdir) && \
+               rm -f runlevel5.target && \
+               $(LN_S) multi-user.target runlevel5.target )
 endif
 if !TARGET_SUSE
 if !TARGET_DEBIAN