Merge "init.rc: set fsck log permission on post-fs-data" am: e7d0c83d3c

am: d830060459

Change-Id: I3dab19fc19f47d43ca0c28b56e2abf34c4d502a8
This commit is contained in:
Wei Wang 2019-04-19 18:13:46 -07:00 committed by android-build-merger
commit 3251fb09a8
1 changed files with 4 additions and 0 deletions

View File

@ -608,6 +608,10 @@ on post-fs-data
# IOCTLs on ashmem fds any more.
setprop sys.use_memfd false
# Set fscklog permission
chown root system /dev/fscklogs/log
chmod 0770 /dev/fscklogs/log
# It is recommended to put unnecessary data/ initialization from post-fs-data
# to start-zygote in device's init.rc to unblock zygote start.
on zygote-start && property:ro.crypto.state=unencrypted