diff options
author | Kelvin Zhang <zhangkelvin@google.com> | 2020-10-27 13:44:25 -0400 |
---|---|---|
committer | Kelvin Zhang <zhangkelvin@google.com> | 2020-11-09 14:11:49 +0000 |
commit | 24599af599acf74b71a555a8eeb827bedcd672b5 (patch) | |
tree | 5f5b5293b83c59e676b3cb6a55af5aa6906b3289 /scripts/payload_info.py | |
parent | 30b09d0c5a6ddf86a65615f46e809d53d570f4b2 (diff) |
Handle resume of VABC updates by emitting labels
To support resuming an update with Virtual AB Compression, we emit
labels in between operations. Before writing any data to CowWriter, we
emit label 0. After writing all SOURCE_COPY, we emit label 1. Each time
we finished writing an InstallOp, we emit a label incremented by 1. When
resuming, we pass the label to CowWriter.
Test: treehugger
Change-Id: I126efc406286a30a6090a9ce14c65a7d273aee56
Diffstat (limited to 'scripts/payload_info.py')
0 files changed, 0 insertions, 0 deletions