X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=elogind.git;a=blobdiff_plain;f=Makefile.am;h=e1fe9e657f2308a1ba04cbed08deb667eb37a4f3;hp=944b8718ab051b60fe1ccf97cbc32b2090d6507e;hb=e082d6c8d80f3f06d72ae838ee4a1213f108a5e4;hpb=f10814d9e00eee75773a0f3cf652236ee1a5fca8 diff --git a/Makefile.am b/Makefile.am index 944b8718a..e1fe9e657 100644 --- a/Makefile.am +++ b/Makefile.am @@ -236,7 +236,10 @@ dist_systemunit_DATA += \ units/debian/killall.service \ units/debian/poweroff.service \ units/debian/reboot.service \ - units/debian/fsck.target + units/debian/fsck.target \ + units/debian/umountfs.service \ + units/debian/umountnfs.service \ + units/debian/umountroot.service endif if TARGET_SUSE @@ -961,6 +964,18 @@ if TARGET_GENTOO rm -f xdm.service && \ $(LN_S) $(systemunitdir)/xdm.service xdm.service ) endif +if TARGET_DEBIAN + $(MKDIR_P) -m 0755 \ + $(DESTDIR)$(systemunitdir)/umount.target.wants + ( cd $(DESTDIR)$(systemunitdir)/umount.target.wants && \ + rm -f umountfs.service umountnfs.service umountroot.service && \ + $(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 ( cd $(DESTDIR)$(systemunitdir) && \