init.rc: add class_start early_hal

This class is used to start hals which are required in order to mount
data (for instance keymaster).

Test: works to start early_hal in internal
Bug: 36278706
Change-Id: If06908135e59b187683d8cf4cc4a00b490559081
This commit is contained in:
Steven Moreland 2017-03-29 09:59:44 -07:00 committed by Tom Cherry
parent 3f220aaa63
commit 5d56bad4bd
1 changed files with 3 additions and 0 deletions

View File

@ -301,6 +301,9 @@ 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