diff options
author | Amin Hassani <ahassani@google.com> | 2017-08-04 13:10:59 -0700 |
---|---|---|
committer | chrome-bot <chrome-bot@chromium.org> | 2017-08-09 14:05:10 -0700 |
commit | 5ef5d4561dbc40c128d1e9bbd8e2da525adcf581 (patch) | |
tree | 3156e7bde5f17bba8940b2863424e2669fb1334a /scripts/update_payload/common.py | |
parent | 489875a27f4cdc4be979b1d9fd8dd026ea0cc820 (diff) |
update_engine: Change imgdiff/imgpatch to a dummy puffdiff/puffpatch
Currently we never create imgdiff operation as it was never
activated. In near future we will be adding puffdiff and puffpatch
operations which replaces the imgdiff. This CL does not actually adds
puffdiff, but adds a placeholder for it.
BUG=none
TEST=cros_workon_make --board=amd64-generic --test update_engine
Change-Id: I6453048acb65c052354a1658f0c6fd41ad33e242
Reviewed-on: https://chromium-review.googlesource.com/602733
Commit-Ready: Amin Hassani <ahassani@chromium.org>
Tested-by: Amin Hassani <ahassani@chromium.org>
Reviewed-by: Ben Chan <benchan@chromium.org>
Reviewed-by: Sen Jiang <senj@chromium.org>
Diffstat (limited to 'scripts/update_payload/common.py')
-rw-r--r-- | scripts/update_payload/common.py | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/scripts/update_payload/common.py b/scripts/update_payload/common.py index 678fc5d9..bab8a4f0 100644 --- a/scripts/update_payload/common.py +++ b/scripts/update_payload/common.py @@ -27,7 +27,7 @@ BRILLO_MAJOR_PAYLOAD_VERSION = 2 INPLACE_MINOR_PAYLOAD_VERSION = 1 SOURCE_MINOR_PAYLOAD_VERSION = 2 OPSRCHASH_MINOR_PAYLOAD_VERSION = 3 -IMGDIFF_MINOR_PAYLOAD_VERSION = 4 +PUFFDIFF_MINOR_PAYLOAD_VERSION = 4 # # Payload operation types. @@ -45,9 +45,9 @@ class OpType(object): ZERO = _CLASS.ZERO DISCARD = _CLASS.DISCARD REPLACE_XZ = _CLASS.REPLACE_XZ - IMGDIFF = _CLASS.IMGDIFF + PUFFDIFF = _CLASS.PUFFDIFF ALL = (REPLACE, REPLACE_BZ, MOVE, BSDIFF, SOURCE_COPY, SOURCE_BSDIFF, ZERO, - DISCARD, REPLACE_XZ, IMGDIFF) + DISCARD, REPLACE_XZ, PUFFDIFF) NAMES = { REPLACE: 'REPLACE', REPLACE_BZ: 'REPLACE_BZ', @@ -58,7 +58,7 @@ class OpType(object): ZERO: 'ZERO', DISCARD: 'DISCARD', REPLACE_XZ: 'REPLACE_XZ', - IMGDIFF: 'IMGDIFF', + PUFFDIFF: 'PUFFDIFF', } def __init__(self): |