cm: Create cgroup mount point for BFQ

The global init.rc no longer creates this for us in N,
but we still need it for BFQ cgroups.

Thus, create the mount point in the CM vendor init.rc.

Change-Id: Ice5ff15737329aefd1dad2401bb530a18008fc4d
This commit is contained in:
Zhao Wei Liew 2016-09-08 12:14:05 +08:00 committed by Gerrit Code Review
parent 087ec8386d
commit c4e4e0df41

View file

@ -3,6 +3,9 @@ on init
export ANDROID_CACHE /cache
export TERMINFO /system/etc/terminfo
# Create cgroup mount point for BFQ
mount tmpfs none /sys/fs/cgroup mode=0750,uid=0,gid=1000
# Set up the BFQIO hierarchy
chmod 0755 /sys/fs/cgroup
mkdir /sys/fs/cgroup/bfqio 0755 root system