X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=blobdiff_plain;f=Makefile.am;h=56bafdc09f5e40e6a485e434bf6ae32525bd7553;hb=9524600eac7c45a8e4b9f426020e24ccfc150d41;hp=7f8df05da724bdd68a4d635cd17cdc8d38191080;hpb=e0e1580aae5913870933518f3cb7055730ce3a49;p=elogind.git diff --git a/Makefile.am b/Makefile.am index 7f8df05da..56bafdc09 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 @@ -398,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 \ @@ -1204,8 +1206,6 @@ if TARGET_FEDORA ( 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 ) endif if TARGET_GENTOO ( cd $(DESTDIR)$(pkgsysconfdir)/system && \ @@ -1247,5 +1247,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