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:
parent
2feb47a29b
commit
8a679e673f
2 changed files with 5 additions and 0 deletions
|
|
@ -136,4 +136,7 @@ cc_binary {
|
|||
"liblog",
|
||||
"liblp",
|
||||
],
|
||||
init_rc: [
|
||||
"snapshotctl.rc",
|
||||
],
|
||||
}
|
||||
|
|
|
|||
2
fs_mgr/libsnapshot/snapshotctl.rc
Normal file
2
fs_mgr/libsnapshot/snapshotctl.rc
Normal file
|
|
@ -0,0 +1,2 @@
|
|||
on property:sys.boot_completed=1
|
||||
exec - root root -- /system/bin/snapshotctl merge --logcat
|
||||
Loading…
Add table
Reference in a new issue