snapshotctl: merge when boot

Test: reboot after OTA on virtual A/B device, see merge
Bug: 135752105

Change-Id: I92eb8d0961635008366c336ead40e3038173257f
This commit is contained in:
Yifan Hong 2019-09-17 16:10:24 -07:00
parent 2feb47a29b
commit 8a679e673f
2 changed files with 5 additions and 0 deletions

View file

@ -136,4 +136,7 @@ cc_binary {
"liblog",
"liblp",
],
init_rc: [
"snapshotctl.rc",
],
}

View file

@ -0,0 +1,2 @@
on property:sys.boot_completed=1
exec - root root -- /system/bin/snapshotctl merge --logcat