diff options
| author | Dmitry Vyukov <dvyukov@google.com> | 2018-09-26 14:06:11 +0200 |
|---|---|---|
| committer | Dmitry Vyukov <dvyukov@google.com> | 2018-09-26 14:06:11 +0200 |
| commit | 8899d58437b396487d20e584c6f9aefd346eb130 (patch) | |
| tree | f453ae5985aa469fb924e6c0c882e5894644baf8 /tools/create-gce-image.sh | |
| parent | 881bc4f9563e82efda303447725d82f10ef9c29a (diff) | |
tools/create-gce-image.sh: mount securityfs and configfs
Diffstat (limited to 'tools/create-gce-image.sh')
| -rwxr-xr-x | tools/create-gce-image.sh | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tools/create-gce-image.sh b/tools/create-gce-image.sh index b555b19b7..6bdc976d8 100755 --- a/tools/create-gce-image.sh +++ b/tools/create-gce-image.sh @@ -115,6 +115,8 @@ sudo sed -i "/^root/ { s/:x:/::/ }" disk.mnt/etc/passwd echo "T0:23:respawn:/sbin/getty -L ttyS0 115200 vt100" | sudo tee -a disk.mnt/etc/inittab echo -en "auto lo\niface lo inet loopback\nauto eth0\niface eth0 inet dhcp\n" | sudo tee disk.mnt/etc/network/interfaces echo "debugfs /sys/kernel/debug debugfs defaults 0 0" | sudo tee -a disk.mnt/etc/fstab +echo "securityfs /sys/kernel/security securityfs defaults 0 0" | sudo tee -a disk.mnt/etc/fstab +echo "configfs /sys/kernel/config/ configfs defaults 0 0" | sudo tee -a disk.mnt/etc/fstab echo 'binfmt_misc /proc/sys/fs/binfmt_misc binfmt_misc defaults 0 0' | sudo tee -a disk.mnt/etc/fstab for i in {0..31}; do echo "KERNEL==\"binder$i\", NAME=\"binder$i\", MODE=\"0666\"" | \ |
