From b0b1d8fb0f933b37e5878541e18034614eed47fb Mon Sep 17 00:00:00 2001 From: Tom Gundersen Date: Sat, 28 Jul 2012 01:32:35 +0200 Subject: merge initscripts-systemd This makes sure that systemd supports some initscripts API's. With this patch, systemd will: * Parse and use DAEMONS and MODULES from rc.conf * Run rc.local and rc.local.shutdown on boot and shutdown respectively Signed-off-by: Tom Gundersen --- Makefile | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'Makefile') diff --git a/Makefile b/Makefile index cebda3e..74808e5 100644 --- a/Makefile +++ b/Makefile @@ -6,6 +6,10 @@ DIRS := \ /etc/logrotate.d \ /etc/profile.d \ /usr/lib/tmpfiles.d \ + /usr/lib/systemd/system-generators \ + /usr/lib/systemd/system/multi-user.target.wants \ + /usr/lib/systemd/system/shutdown.target.wants \ + /usr/lib/systemd/system/sysinit.target.wants \ /usr/sbin \ /usr/share/bash-completion/completions \ /usr/share/zsh/site-functions \ @@ -29,9 +33,15 @@ install: installdirs doc install -m644 -t $(DESTDIR)/usr/share/man/man5 rc.conf.5 install -m644 -t $(DESTDIR)/usr/share/man/man7 archlinux.7 install -m644 -t $(DESTDIR)/usr/share/man/man8 rc.d.8 + install -m755 -t $(DESTDIR)/usr/lib/systemd/system-generators arch-daemons + install -m755 -t $(DESTDIR)/usr/lib/systemd arch-modules-load + install -m644 -t $(DESTDIR)/usr/lib/systemd/system arch-modules-load.service rc-local.service rc-local-shutdown.service install -m644 tmpfiles.conf $(DESTDIR)/usr/lib/tmpfiles.d/initscripts.conf install -m644 -T bash-completion $(DESTDIR)/usr/share/bash-completion/completions/rc.d install -m644 -T zsh-completion $(DESTDIR)/usr/share/zsh/site-functions/_rc.d + ln -s ../rc-local.service ${DESTDIR}/usr/lib/systemd/system/multi-user.target.wants/ + ln -s ../rc-local-shutdown.service ${DESTDIR}/usr/lib/systemd/system/shutdown.target.wants/ + ln -s ../arch-modules-load.service ${DESTDIR}/usr/lib/systemd/system/sysinit.target.wants/ %.5: %.5.txt a2x -d manpage -f manpage $< -- cgit v1.2.3