Hi everyone,

following up on the discussion on the upstream mailing list, I propose
the following patch, which drops the halt-local.service service (not
used in Debian) and also drops the rc-local-generator and instead simply
hooks up rc-local.service statically in multi-user.target.wants.

Since rc-local.service already as a
ConditionFileIsExecutable=/etc/rc.local, we don't lose any functionality.

Instead, we build less stuff during package build and run fewer binaries
during boot.


Comments welcome.

-- 
Why is it that all of the instruments seeking intelligent life in the
universe are pointed away from Earth?
diff --git a/Makefile.am b/Makefile.am
index ac7924e..62f7bcb 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -610,12 +610,13 @@ CLEANFILES += \
 
 if HAVE_SYSV_COMPAT
 nodist_systemunit_DATA += \
-	units/rc-local.service \
-	units/halt-local.service
+	units/rc-local.service
 
 systemgenerator_PROGRAMS += \
-	systemd-sysv-generator \
-	systemd-rc-local-generator
+	systemd-sysv-generator
+
+MULTI_USER_TARGET_WANTS += \
+	units/rc-local.service
 endif
 
 EXTRA_DIST += \

Attachment: signature.asc
Description: OpenPGP digital signature

_______________________________________________
Pkg-systemd-maintainers mailing list
Pkg-systemd-maintainers@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-systemd-maintainers

Reply via email to