From 2675f920652cc9218b4b3dc513c76b0546a5a5ae Mon Sep 17 00:00:00 2001 From: Dmitry Vyukov Date: Thu, 22 Mar 2018 13:24:02 +0100 Subject: sys/linux: add cgroup descriptions --- tools/create-gce-image.sh | 3 +++ 1 file changed, 3 insertions(+) (limited to 'tools/create-gce-image.sh') diff --git a/tools/create-gce-image.sh b/tools/create-gce-image.sh index 798213fda..10cc5058a 100755 --- a/tools/create-gce-image.sh +++ b/tools/create-gce-image.sh @@ -80,6 +80,9 @@ 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 +# We disable selinux for now because the default policy on wheezy prevents +# mounting of cgroup2 (and stretch we don't know how to configure yet). +echo 'SELINUX=disabled' | sudo tee disk.mnt/etc/selinux/config # sysctls echo "kernel.printk = 7 4 1 3" | sudo tee -a disk.mnt/etc/sysctl.conf -- cgit mrf-deployment