[SCM] live-debconfig branch, debian-next, updated. debian/4.0_a3-1-18-g5d8762f

Daniel Baumann daniel at debian.org
Fri Aug 17 11:19:39 UTC 2012


The following commit has been merged in the debian-next branch:
commit 5d8762fe85f79040f5522ae116a03d15aba00a75
Author: Daniel Baumann <daniel at debian.org>
Date:   Fri Aug 17 10:46:13 2012 +0200

    Replacing /bin/true symlinks with an empty initscript to fake LSB headers in sysvinit script.

diff --git a/bin/live-sysvinit-empty b/bin/live-sysvinit-empty
new file mode 100755
index 0000000..061a12b
--- /dev/null
+++ b/bin/live-sysvinit-empty
@@ -0,0 +1,26 @@
+#!/bin/sh
+
+## live-debconfig contains the scripts that configure a Debian Live system during
+## the build process (live-build).
+##
+## This is the sysvinit script for live-debconfig.
+
+
+### BEGIN INIT INFO
+# Provides:		live-debconfig
+# Required-Start:
+# Required-Stop:
+# Should-Start:
+# Should-Stop:
+# Default-Start:	3
+# Default-Stop:		3
+# Short-Description:	Debian Live - System Configuration Scripts
+# Description:		live-debconfig contains the scripts that configure a
+#			Debian Live system during the build process
+#			(live-build).
+# X-Start-Before:
+# X-Stop-After:
+# X-Interactive:
+### END INIT INFO
+
+exit 0
diff --git a/scripts/debconfig/0030-sysvinit b/scripts/debconfig/0030-sysvinit
index 78dedc0..a04dc57 100755
--- a/scripts/debconfig/0030-sysvinit
+++ b/scripts/debconfig/0030-sysvinit
@@ -173,7 +173,7 @@ case "${_LXC_ENABLE}" in
 				for _SYMLINK in /etc/rc*.d/K*${_SERVICE}
 				do
 					rm -f ${_SYMLINK}
-					ln -s /bin/true ${_SYMLINK}
+					ln -s /bin/live-sysvinit-empty ${_SYMLINK}
 				done
 			fi
 

-- 
live-debconfig



More information about the debian-live-changes mailing list