X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=elogind.git;a=blobdiff_plain;f=Makefile.am;h=b6cae4109b5a0b8eda1fbcc2d7c37d6f03517065;hp=62dcf78e6fea4f66030a97717788fefb9e57979e;hb=858dae181bb5461201ac1c04732d3ef4c67a0256;hpb=ec863ba65a41e58680a3ab15841243088284e808 diff --git a/Makefile.am b/Makefile.am index 62dcf78e6..b6cae4109 100644 --- a/Makefile.am +++ b/Makefile.am @@ -209,7 +209,8 @@ dist_systemunit_DATA = \ units/smartcard.target \ units/systemd-readahead-done.timer \ units/systemd-tmpfiles-clean.timer \ - units/quotaon.service + units/quotaon.service \ + units/systemd-ask-password-wall.path nodist_systemunit_DATA = \ units/sysinit.target \ @@ -235,6 +236,7 @@ nodist_systemunit_DATA = \ units/systemd-tmpfiles-setup.service \ units/systemd-tmpfiles-clean.service \ units/systemd-user-sessions.service \ + units/systemd-ask-password-wall.service \ units/syslog.target \ units/halt.service \ units/poweroff.service \ @@ -276,6 +278,7 @@ EXTRA_DIST = \ units/systemd-tmpfiles-setup.service.in \ units/systemd-tmpfiles-clean.service.in \ units/systemd-user-sessions.service.in \ + units/systemd-ask-password-wall.service.in \ units/syslog.target.in \ units/halt.service.in \ units/poweroff.service.in \ @@ -300,7 +303,7 @@ dist_systemunit_DATA += \ units/fedora/plymouth-halt.service endif -if TARGET_DEBIAN +if TARGET_DEBIAN_OR_UBUNTU dist_systemunit_DATA += \ units/debian/fsck.target \ units/debian/umountfs.service \ @@ -911,6 +914,7 @@ pam_systemd_la_LIBADD = \ SED_PROCESS = \ $(AM_V_GEN)$(MKDIR_P) $(dir $@) && \ $(SED) -e 's,@rootlibexecdir\@,$(rootlibexecdir),g' \ + -e 's,@rootbindir\@,$(rootbindir),g' \ -e 's,@SPECIAL_SYSLOG_SERVICE\@,$(SPECIAL_SYSLOG_SERVICE),g' \ -e 's,@SYSTEMCTL\@,$(rootbindir)/systemctl,g' \ -e 's,@SYSTEMD_NOTIFY\@,$(rootbindir)/systemd-notify,g' \ @@ -1116,9 +1120,10 @@ install-data-hook: $(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 systemd-user-sessions.service && \ + rm -f getty.target systemd-user-sessions.service systemd-ask-password-wall.path && \ $(LN_S) ../getty.target getty.target && \ - $(LN_S) ../systemd-user-sessions.service systemd-user-sessions.service ) + $(LN_S) ../systemd-user-sessions.service systemd-user-sessions.service && \ + $(LN_S) ../systemd-ask-password-wall.path systemd-ask-password-wall.path ) ( 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 && \ @@ -1213,7 +1218,7 @@ if TARGET_GENTOO rm -f xdm.service && \ $(LN_S) $(systemunitdir)/xdm.service xdm.service ) endif -if TARGET_DEBIAN +if TARGET_DEBIAN_OR_UBUNTU $(MKDIR_P) -m 0755 \ $(DESTDIR)$(systemunitdir)/umount.target.wants ( cd $(DESTDIR)$(systemunitdir)/umount.target.wants && \ @@ -1227,11 +1232,13 @@ if TARGET_DEBIAN endif if !TARGET_SUSE if !TARGET_DEBIAN +if !TARGET_UBUNTU ( cd $(DESTDIR)$(systemunitdir) && \ rm -f fsck.target && \ $(LN_S) sysinit.target fsck.target ) endif endif +endif DISTCHECK_CONFIGURE_FLAGS = \ --with-dbuspolicydir=$$dc_install_base/$(dbuspolicydir) \