commit | 367cca3937bd449f6762f625336ca10d28076d17 | [log] [tgz] |
---|---|---|
author | David Anderson <dvander@google.com> | Mon Feb 03 13:56:05 2020 -0800 |
committer | David Anderson <dvander@google.com> | Wed Feb 05 17:16:17 2020 -0800 |
tree | e5e4a22386feee5957a6b1521deba96520dfc804 | |
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