X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=elogind.git;a=blobdiff_plain;f=Makefile.am;h=3c65febb500c56fcc7d0edc5ac9cd32c0ef0142e;hp=a55b244b6719e0605c0b099dc7be788e99df7c53;hb=73d35ff8e475d17a22fc524ae003553021acaa8e;hpb=ac52853d6db67e80610d91a2bb643ee815cfa7de diff --git a/Makefile.am b/Makefile.am index a55b244b6..3c65febb5 100644 --- a/Makefile.am +++ b/Makefile.am @@ -53,9 +53,10 @@ AM_CPPFLAGS = \ -DSYSTEMD_BINARY_PATH=\"$(rootbindir)/systemd\" \ -DSYSTEMD_SHUTDOWN_BINARY_PATH=\"$(rootlibexecdir)/systemd-shutdown\" \ -DSYSTEMCTL_BINARY_PATH=\"$(rootbindir)/systemctl\" \ + -DSYSTEMD_TTY_ASK_PASSWORD_AGENT_BINARY_PATH=\"$(rootbindir)/systemd-tty-ask-password-agent\" \ -DRUNTIME_DIR=\"$(localstatedir)/run\" \ -DRANDOM_SEED=\"$(localstatedir)/lib/random-seed\" \ - -DKEXEC_BINARY_PATH=\"$(rootsbindir)/kexec\" \ + -DKEXEC_BINARY_PATH=\"/sbin/kexec\" \ -I $(top_srcdir)/src if TARGET_GENTOO @@ -210,7 +211,8 @@ dist_systemunit_DATA = \ units/systemd-readahead-done.timer \ units/systemd-tmpfiles-clean.timer \ units/quotaon.service \ - units/systemd-ask-password-wall.path + units/systemd-ask-password-wall.path \ + units/systemd-ask-password-plymouth.path nodist_systemunit_DATA = \ units/sysinit.target \ @@ -237,6 +239,7 @@ nodist_systemunit_DATA = \ units/systemd-tmpfiles-clean.service \ units/systemd-user-sessions.service \ units/systemd-ask-password-wall.service \ + units/systemd-ask-password-plymouth.service \ units/syslog.target \ units/halt.service \ units/poweroff.service \ @@ -279,6 +282,7 @@ EXTRA_DIST = \ units/systemd-tmpfiles-clean.service.in \ units/systemd-user-sessions.service.in \ units/systemd-ask-password-wall.service.in \ + units/systemd-ask-password-plymouth.service.in \ units/syslog.target.in \ units/halt.service.in \ units/poweroff.service.in \ @@ -395,6 +399,7 @@ libsystemd_core_la_SOURCES = \ src/cgroup.c \ src/mount-setup.c \ src/hostname-setup.c \ + src/selinux-setup.c \ src/loopback-setup.c \ src/kmod-setup.c \ src/locale-setup.c \ @@ -1170,13 +1175,10 @@ if TARGET_FEDORA $(DESTDIR)$(systemunitdir)/rescue.target.wants \ $(DESTDIR)$(systemunitdir)/multi-user.target.wants \ $(DESTDIR)$(systemunitdir)/final.target.wants - ( cd $(DESTDIR)$(pkgsysconfdir)/system && \ - rm -f display-manager.service && \ - $(LN_S) $(systemunitdir)/prefdm.service display-manager.service ) - ( cd $(DESTDIR)$(pkgsysconfdir)/system/graphical.target.wants && \ + ( cd $(DESTDIR)$(systemunitdir)/graphical.target.wants && \ rm -f prefdm.service && \ $(LN_S) $(systemunitdir)/prefdm.service prefdm.service ) - ( cd $(DESTDIR)$(pkgsysconfdir)/system/multi-user.target.wants && \ + ( cd $(DESTDIR)$(systemunitdir)/multi-user.target.wants && \ rm -f rc-local.service && \ $(LN_S) $(systemunitdir)/rc-local.service rc-local.service ) ( cd $(DESTDIR)$(systemunitdir)/final.target.wants && \ @@ -1186,8 +1188,9 @@ if TARGET_FEDORA rm -f single.service && \ $(LN_S) $(systemunitdir)/single.service single.service ) ( cd $(DESTDIR)$(systemunitdir)/multi-user.target.wants && \ - rm -f plymouth-quit.service && \ - $(LN_S) ../plymouth-quit.service plymouth-quit.service ) + rm -f plymouth-quit.service systemd-ask-password-plymouth.path && \ + $(LN_S) ../plymouth-quit.service plymouth-quit.service && \ + $(LN_S) ../systemd-ask-password-plymouth.path systemd-ask-password-plymouth.path ) ( cd $(DESTDIR)$(systemunitdir)/reboot.target.wants && \ rm -f plymouth-reboot.service && \ $(LN_S) ../plymouth-reboot.service plymouth-reboot.service ) @@ -1198,10 +1201,8 @@ if TARGET_FEDORA rm -f plymouth-halt.service && \ $(LN_S) ../plymouth-halt.service plymouth-halt.service ) ( cd $(DESTDIR)$(systemunitdir) && \ - rm -f local.service && \ - $(LN_S) rc-local.service local.service ) - ( cd $(DESTDIR)$(SYSTEM_SYSVINIT_PATH) && \ - $(LN_S) halt reboot > /dev/null 2>&1 || true ) + rm -f display-manager.service && \ + $(LN_S) prefdm.service display-manager.service ) endif if TARGET_GENTOO ( cd $(DESTDIR)$(pkgsysconfdir)/system && \ @@ -1243,5 +1244,7 @@ git-tag: # Opt out from a few services on Fedora for now, as long as rc.sysinit does this job fedora: install - rm /lib/systemd/system/local-fs.target.wants/var-run.mount - rm /lib/systemd/system/local-fs.target.wants/var-lock.mount + rm $(DESTDIR)/lib/systemd/system/local-fs.target.wants/var-run.mount + rm $(DESTDIR)/lib/systemd/system/local-fs.target.wants/var-lock.mount + sed -i -e 's/^#MountAuto=yes$$/MountAuto=no/' \ + -e 's/^#SwapAuto=yes$$/SwapAuto=no/' $(DESTDIR)/etc/systemd/system.conf