diff options
author | Alex Deymo <deymo@chromium.org> | 2015-08-13 14:00:22 -0700 |
---|---|---|
committer | ChromeOS Commit Bot <chromeos-commit-bot@chromium.org> | 2015-08-15 04:26:42 +0000 |
commit | ac6246ae239518a27ab4e89ee01ba1b1d76d440f (patch) | |
tree | 7593c43e985af59ea00b625416df0c581ff03483 /utils_unittest.cc | |
parent | a12ee11c78ac6d7c2605921a4006b6a7416e0c35 (diff) |
update_engine: Extend payload metadata with Brillo fields.
In order to update more than two partitions, we moved the partition
update description to a new message PartitionUpdate.
The InstallOperation message is extended with a per-operation source
data hash to validate the source data right before we apply the
operation instead of relying on the slow whole-partition hash.
This patch also includes two new operation types: ZERO and DISCARD to
be included starting with delta minor_version=3 and full payloads in
Brillo. It doesn't include the implementation for those yet.
BUG=b:23179128
TEST=Unittest still pass.
Change-Id: I5b5fc8e2af6684ce655bf1fa1b82d1d2285a4e3a
Reviewed-on: https://chromium-review.googlesource.com/293505
Trybot-Ready: Alex Deymo <deymo@chromium.org>
Tested-by: Alex Deymo <deymo@chromium.org>
Reviewed-by: Alex Deymo <deymo@chromium.org>
Commit-Queue: Alex Deymo <deymo@chromium.org>
Diffstat (limited to 'utils_unittest.cc')
0 files changed, 0 insertions, 0 deletions