Call early-boot-ended from init.

To make sure it's always called after apexd has run.

Bug: 168585635
Bug: 173005594
Test: inspect logs
Change-Id: Iaff175dea6a658523cdedb8b6894ca23af62bcbf
This commit is contained in:
Martijn Coenen 2020-11-12 11:01:24 +01:00
parent 9e6cef7f07
commit afe86cc088
1 changed files with 4 additions and 0 deletions

View File

@ -807,6 +807,10 @@ on post-fs-data
wait_for_prop apexd.status activated
perform_apex_config
# After apexes are mounted, tell keymaster early boot has ended, so it will
# stop allowing use of early-boot keys
exec - system system -- /system/bin/vdc keymaster early-boot-ended
# Special-case /data/media/obb per b/64566063
mkdir /data/media 0770 media_rw media_rw encryption=None
exec - media_rw media_rw -- /system/bin/chattr +F /data/media