Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/lxc_pacstrap.patch
diff options
context:
space:
mode:
Diffstat (limited to 'lxc_pacstrap.patch')
-rw-r--r--lxc_pacstrap.patch16
1 files changed, 16 insertions, 0 deletions
diff --git a/lxc_pacstrap.patch b/lxc_pacstrap.patch
new file mode 100644
index 0000000..f289586
--- /dev/null
+++ b/lxc_pacstrap.patch
@@ -0,0 +1,16 @@
+--- /usr/sbin/pacstrap 2024-07-04 14:46:45.000000000 +0000
++++ /usr/local/sbin/pacstrap 2024-08-25 01:01:36.829991269 +0000
+@@ -124,9 +124,10 @@
+ chroot_add_mount sys "$1/sys" -t sysfs -o nosuid,noexec,nodev,ro &&
+ ignore_error chroot_maybe_add_mount "[[ -d '$1/sys/firmware/efi/efivars' ]]" \
+ efivarfs "$1/sys/firmware/efi/efivars" -t efivarfs -o nosuid,noexec,nodev &&
+- chroot_add_mount udev "$1/dev" -t devtmpfs -o mode=0755,nosuid &&
+- 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 udev "$1/dev" -t devtmpfs -o mode=0755,nosuid &&
++ chroot_add_mount /dev "$1/dev" --bind --make-private -o mode=0755,nosuid &&
++# 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" -t tmpfs -o nosuid,nodev,mode=0755 &&
+ chroot_add_mount tmp "$1/tmp" -t tmpfs -o mode=1777,strictatime,nodev,nosuid
+ }