[pkg-fso-commits] [SCM] Various non-packaged files branch, master, updated. bf58b9271b7e4ddd2dcc6ccb43cad9b9e2d4c2be

Steffen Moeller moeller at debian.org
Sat Sep 19 14:07:33 UTC 2009


The following commit has been merged in the master branch:
commit 692774dcc6d25482c7a20afe8eee01f23ca9990b
Author: Steffen Moeller <moeller at debian.org>
Date:   Sat Sep 19 15:22:10 2009 +0200

    Diverting /usr/sbin/invoke-rc.d

diff --git a/install.sh b/install.sh
index fde3653..22b8d8f 100755
--- a/install.sh
+++ b/install.sh
@@ -954,6 +954,15 @@ __END__
 
 	echo " * Completing install of Debian basic packages to circumvent bug #542955"
 
+
+	# dropbear at least cannot be installed without preventing the restart to happen
+	mv $INST_DIR/usr/sbin/invoke-rc.d "$INST_DIR"/usr/sbin/invoke-rc.d.diverted
+	cat > "$INST_DIR"/usr/sbin/invoke-rc.d <<EOINVOKERCD
+#!/bin/sh
+ echo "I: ignoring call to invoke-rc.d '$*'
+EOINVOKERCD
+	chmod 755 "$INST_DIR"/usr/sbin/invoke-rc.d 
+
 	chroot "$INST_DIR" apt-get $APT_OPTIONS install $(echo $DEBIAN_EXTRA_PACKAGES | tr "," " ")
 
 	echo " * Cleaning APT cache"

-- 
Various non-packaged files



More information about the pkg-fso-commits mailing list