common: Make run a tmpfs mount
Reverts aea51ba901
Fixes https://github.com/archlinux/arch-install-scripts/issues/15
Signed-off-by: Morten Linderud <morten@linderud.pw>
This commit is contained in:
parent
9ffd8bc6e3
commit
8a56133926
2
common
2
common
@ -90,7 +90,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" --bind -r &&
|
||||
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
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user