From 8d6499a1e52c5043fd2910af5d475aea00f88587 Mon Sep 17 00:00:00 2001 From: Unit 193 Date: Wed, 6 Jan 2021 20:27:20 -0500 Subject: d/install, d/p/policy.d_no_autostart.patch, d/policy-rc.d: Drop setting up policy-rc.d. This has never really worked out well. The latest rendition is fine, except if /usr/sbin/policy-rc.d doesn't exist, then it fails chroot. One could use the "ignore_error chroot_maybe_add_mount" method, but this would cause different results based on if the file exists or not, still. Seth Arnold notes that one could bind mount everything from "$1/usr/sbin/" into something like /dev/shm/installer/sbin/, then add policy-rc.d to /dev/shm/installer/sbin/, and bindmount /dev/shm/installer/sbin/ back on top of "$1/usr/sbin/policy-rc.d". --- debian/policy-rc.d | 3 --- 1 file changed, 3 deletions(-) delete mode 100755 debian/policy-rc.d (limited to 'debian/policy-rc.d') diff --git a/debian/policy-rc.d b/debian/policy-rc.d deleted file mode 100755 index 105ba3d..0000000 --- a/debian/policy-rc.d +++ /dev/null @@ -1,3 +0,0 @@ -#!/bin/sh -# Prevent invoke-rc.d from starting services. -exit 101 -- cgit v1.2.3