diff options
author | David Anderson <dvander@google.com> | 2020-02-03 13:56:05 -0800 |
---|---|---|
committer | David Anderson <dvander@google.com> | 2020-02-05 17:16:17 -0800 |
commit | 367cca3937bd449f6762f625336ca10d28076d17 (patch) | |
tree | e5e4a22386feee5957a6b1521deba96520dfc804 /init/service_parser.cpp | |
parent | e6211eb978d4c66c61e113379f8e6315005258d3 (diff) |
libsnapshot: Restrict when snapshots can be deleted.
Do not delete snapshots for any reason other than merge-complete or a
cancel request from update_engine. Additionally, create a rollback
indicator file if booting into the source slot, so update_engine can
attempt to cancel the update.
Bug: 147819418
Bug: 147347110
Test: libsnapshot_test gtest
Change-Id: Id357a91cec467a60246c7c3d133f6c54ccb3fc93
Diffstat (limited to 'init/service_parser.cpp')
0 files changed, 0 insertions, 0 deletions