aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLibravatar Unit 193 <unit193@ubuntu.com>2019-01-11 00:51:16 -0500
committerLibravatar Unit 193 <unit193@ubuntu.com>2019-01-11 00:51:16 -0500
commitfd616e12e50b05fe51ecf762726d91ade29485a8 (patch)
tree69cc59c9e6df7268ff3732d6f8d6de400ea1bb16
parent59a9bcca5e88dd858e60687e77c8c4232e0f2c84 (diff)
downloadarch-install-scripts-fd616e12e50b05fe51ecf762726d91ade29485a8.tar.bz2
arch-install-scripts-fd616e12e50b05fe51ecf762726d91ade29485a8.tar.xz
arch-install-scripts-fd616e12e50b05fe51ecf762726d91ade29485a8.tar.zst
Refresh patch.
-rw-r--r--debian/patches/policy.d_no_autostart.patch8
1 files changed, 4 insertions, 4 deletions
diff --git a/debian/patches/policy.d_no_autostart.patch b/debian/patches/policy.d_no_autostart.patch
index fb86606..9adcb78 100644
--- a/debian/patches/policy.d_no_autostart.patch
+++ b/debian/patches/policy.d_no_autostart.patch
@@ -8,7 +8,7 @@ Index: arch-install-scripts/common
===================================================================
--- arch-install-scripts.orig/common
+++ arch-install-scripts/common
-@@ -75,10 +75,18 @@ chroot_maybe_add_mount() {
+@@ -77,10 +77,18 @@ chroot_maybe_add_mount() {
fi
}
@@ -28,15 +28,15 @@ Index: arch-install-scripts/common
chroot_add_mount proc "$1/proc" -t proc -o nosuid,noexec,nodev &&
chroot_add_mount sys "$1/sys" -t sysfs -o nosuid,noexec,nodev,ro &&
-@@ -89,6 +97,7 @@ chroot_setup() {
+@@ -91,6 +99,7 @@ chroot_setup() {
chroot_add_mount shm "$1/dev/shm" -t tmpfs -o mode=1777,nosuid,nodev &&
- chroot_add_mount run "$1/run" -t tmpfs -o nosuid,nodev,mode=0755 &&
+ chroot_add_mount /run "$1/run" --bind &&
chroot_add_mount tmp "$1/tmp" -t tmpfs -o mode=1777,strictatime,nodev,nosuid
+ chroot_policyd "$1"
}
chroot_teardown() {
-@@ -96,6 +105,7 @@ chroot_teardown() {
+@@ -98,6 +107,7 @@ chroot_teardown() {
umount "${CHROOT_ACTIVE_MOUNTS[@]}"
fi
unset CHROOT_ACTIVE_MOUNTS