Merge "Move early_hal start to late-fs trigger action" into oc-dev

This commit is contained in:
TreeHugger Robot 2017-04-07 06:08:07 +00:00 committed by Android (Google) Code Review
commit 9cadfde2d6

View file

@ -301,9 +301,6 @@ on post-fs
start logd
start hwservicemanager
# HALs required before data is mounted
class_start early_hal
# once everything is setup, no need to modify /
mount rootfs rootfs / ro remount
# Mount shared so changes propagate into child namespaces
@ -352,6 +349,10 @@ on post-fs
# create the lost+found directories, so as to enforce our permissions
mkdir /cache/lost+found 0770 root root
on late-fs
# HALs required before storage encryption can get unlocked (FBE/FDE)
class_start early_hal
on post-fs-data
# We chown/chmod /data again so because mount is run as root + defaults
chown system system /data