summaryrefslogtreecommitdiff
path: root/common/subprocess_unittest.cc
diff options
context:
space:
mode:
authorTianjie <xunchang@google.com>2020-07-17 21:43:22 -0700
committerTianjie Xu <xunchang@google.com>2020-07-20 17:28:28 +0000
commitf5baff4655a9b0c13510d7f2dc222f5e66bed505 (patch)
tree3afa62e39e7e7e80948a613fa5099322f945522b /common/subprocess_unittest.cc
parentcc011d3b0ad7f359415a63399e94b62752572a28 (diff)
Support generation of partial updates
Add a new minor version kPartialUpdateMinorPayloadVersion for partial updates. Also, we always treat the partial update as a delta update in payload consumer, so new update_engine can perform minor version check correctly. Conceptually, partial update is indeed a delta update; because we need to copy | use the untouched partitions. Since the payload for the partial update doesn't carry old partition info, old update engines will treat them as full update. So old UE will also fail the minor version check correctly; because we always expect kFullPayloadMinorVersion for full updates. Bug: 157778739 Test: generate & apply partial full|incremental updates, generate regular updates, unittests pass Change-Id: I7f8365cf99098269150dd08e028120354944f3c6
Diffstat (limited to 'common/subprocess_unittest.cc')
0 files changed, 0 insertions, 0 deletions