Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit afe86cc0 authored by Martijn Coenen's avatar Martijn Coenen
Browse files

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
parent 9e6cef7f
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -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