summaryrefslogtreecommitdiffstats
path: root/common
diff options
context:
space:
mode:
authorLibravatarUnit 193 <unit193@ubuntu.com>2019-01-11 00:39:39 -0500
committerLibravatarUnit 193 <unit193@ubuntu.com>2019-01-11 00:39:39 -0500
commitcc216920a0867905b9110ef51bf29e576364b175 (patch)
treec39c18b62e59589e3c6608ea6eee99c4618ed796 /common
parent827a047f6fe1a8eff30c6059c8822a4b65665aa9 (diff)
New upstream version 21upstream/21
Diffstat (limited to 'common')
-rw-r--r--common4
1 files changed, 3 insertions, 1 deletions
diff --git a/common b/common
index c3c2bd5..fa040e7 100644
--- a/common
+++ b/common
@@ -2,6 +2,7 @@
declare -A pseudofs_types=([anon_inodefs]=1
[autofs]=1
[bdev]=1
+ [bpf]=1
[binfmt_misc]=1
[cgroup]=1
[cgroup2]=1
@@ -12,6 +13,7 @@ declare -A pseudofs_types=([anon_inodefs]=1
[devpts]=1
[devtmpfs]=1
[dlmfs]=1
+ [efivarfs]=1
[fuse.gvfs-fuse-daemon]=1
[fusectl]=1
[hugetlbfs]=1
@@ -87,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
}