diff options
| author | Dmitry Vyukov <dvyukov@google.com> | 2017-11-27 15:08:32 +0100 |
|---|---|---|
| committer | Dmitry Vyukov <dvyukov@google.com> | 2017-11-27 15:09:30 +0100 |
| commit | afba0b55e6d3692ac33c71553cb4cf61fc6a53e4 (patch) | |
| tree | 80ddaa33aadfcd14699aa07d4e615ba16fdd1851 /tools/create-gce-image.sh | |
| parent | deb5f6aea2f118fd3132523c70a29e3a86b50164 (diff) | |
sys/linux: add binder descriptions
Diffstat (limited to 'tools/create-gce-image.sh')
| -rwxr-xr-x | tools/create-gce-image.sh | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/tools/create-gce-image.sh b/tools/create-gce-image.sh index c256be6ff..cc24a245d 100755 --- a/tools/create-gce-image.sh +++ b/tools/create-gce-image.sh @@ -76,6 +76,10 @@ 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 +for i in {0..31}; do + echo "KERNEL==\"binder$i\", NAME=\"binder$i\", MODE=\"0666\"" | \ + tee -a disk.mnt/etc/udev/50-binder.rules +done # sysctls echo "kernel.printk = 7 4 1 3" | sudo tee -a disk.mnt/etc/sysctl.conf |
