commit | 3fba9b924818ce8311cebf8bbb83a63f1f5c6f1e | [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 | 4205a5cb3011be41c416afb3abbd72184d8b5c0f [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