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

Commit d9095707 authored by Treehugger Robot's avatar Treehugger Robot Committed by Gerrit Code Review
Browse files

Merge "init: set a new trigger when a vold checkpoint is committed" into main

parents 007224d5 b5254635
Loading
Loading
Loading
Loading
+5 −3
Original line number Diff line number Diff line
@@ -499,9 +499,11 @@ have been omitted.
   4. `late-fs` - Mount partitions marked as latemounted.
   5. `post-fs-data` - Mount and configure `/data`; set up encryption. `/metadata` is
      reformatted here if it couldn't mount in first-stage init.
   6. `zygote-start` - Start the zygote.
   7. `early-boot` - After zygote has started.
   8. `boot` - After `early-boot` actions have completed.
   6. `post-fs-data-checkpointed` - Triggered when vold has completed committing a checkpoint
      after an OTA update. Not triggered if checkpointing is not needed or supported.
   7. `zygote-start` - Start the zygote.
   8. `early-boot` - After zygote has started.
   9. `boot` - After `early-boot` actions have completed.

Commands
--------
+3 −0
Original line number Diff line number Diff line
@@ -1087,6 +1087,9 @@ on post-fs-data
    # Update dm-verity state and set partition.*.verified properties.
    verity_update_state

on property:vold.checkpoint_committed=1
    trigger post-fs-data-checkpointed

# 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