Bind mount /run from host into new root
ref: https://bugs.archlinux.org/task/61040
This commit is contained in:
parent
e7add12aba
commit
aea51ba901
2
common
2
common
@ -89,7 +89,7 @@ chroot_setup() {
|
||||
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 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
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user