1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
Description: Set up policy.d to not autostart services in the chroot
Author: Unit 193 <unit193@debian.org>
Forwarded: not-needed
Last-Update: 2020-12-19
---
common | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
--- a/common 2020-12-19 20:05:37.304917253 -0500
+++ b/common 2020-12-19 20:05:37.296917325 -0500
@@ -90,7 +90,8 @@
chroot_add_mount devpts "$1/dev/pts" -t devpts -o mode=0620,gid=5,nosuid,noexec &&
chroot_add_mount shm "$1/dev/shm" -t tmpfs -o mode=1777,nosuid,nodev &&
chroot_add_mount /run "$1/run" --bind &&
- chroot_add_mount tmp "$1/tmp" -t tmpfs -o mode=1777,strictatime,nodev,nosuid
+ chroot_add_mount tmp "$1/tmp" -t tmpfs -o mode=1777,strictatime,nodev,nosuid &&
+ chroot_add_mount /usr/share/arch-install-scripts/policy-rc.d "$1/usr/sbin/policy-rc.d" --bind
}
chroot_teardown() {
|