summaryrefslogtreecommitdiff
path: root/scripts/update_payload/format_utils_unittest.py
diff options
context:
space:
mode:
authorAmin Hassani <ahassani@chromium.org>2020-03-10 01:50:42 +0000
committerCommit Bot <commit-bot@chromium.org>2020-03-10 06:50:12 +0000
commit822d485e6de60dc4acaaad710a6b9445aad72656 (patch)
tree2c60878949910ded5eee46f1f101615b0ef4509f /scripts/update_payload/format_utils_unittest.py
parent1a200c114fd51a62b1be3269bcd43fefcae3e20c (diff)
Reland "update_engine: Deprecate major version 1"
This reverts commit fac20229289cf4d4373fffe83037d44b780eabd0. Reason for revert: <Since the stepping stone on M72 we can revert this now> Original change's description: > Revert "update_engine: Deprecate major version 1" > > This partially reverts commit 55c75417e22d5026971276997924a345d9973bbc. > > It turns out that we forgot a scenario when we deprecated major version > 1. We use update_engine in lab tests (specifically > autoupdate_EndToEndTests on stable channel) to update a DUT to an > old (very old) versions using actual update payloads so we can test that > they can get updated to newer versions. However, deprecating major > version 1 in the update_engine caused trouble because we no longer can > update from a newer version to a version before M72 (to prepare the > device for update test). We need to put this feature back until we find > a better solution for it. > > On this CL, we only support major version 1 in the client and only for > test (non-official) images. We don't even bother adding paygen support > for it. > > This CL should be reverted once we figured out what to do with > provisioning the autoupdate end to end tests. > > BUG=chromium:1043428 > TEST=FEATURES=test emerge-reef update_engine > TEST=cros deployed it, then cros flash using an m71 payload, it succeeded. > > Change-Id: I1fecbe3ae845b2e419f0999adc53e4732b1f7696 > Reviewed-on: https://chromium-review.googlesource.com/c/aosp/platform/system/update_engine/+/2013884 > Reviewed-by: Tianjie Xu <xunchang@google.com> > Reviewed-by: Sen Jiang <senj@chromium.org> > Tested-by: Amin Hassani <ahassani@chromium.org> > Commit-Queue: Amin Hassani <ahassani@chromium.org> TBR=dhaddock@chromium.org,senj@chromium.org,ahassani@chromium.org,xunchang@google.com,kimjae@chromium.org # Not skipping CQ checks because original CL landed > 1 day ago. Bug: chromium:1043428 Change-Id: I011537d4c982fa8f8d6548adddd14d966106ba44 Reviewed-on: https://chromium-review.googlesource.com/c/aosp/platform/system/update_engine/+/2096032 Reviewed-by: Amin Hassani <ahassani@chromium.org> Commit-Queue: Amin Hassani <ahassani@chromium.org> Tested-by: Amin Hassani <ahassani@chromium.org>
Diffstat (limited to 'scripts/update_payload/format_utils_unittest.py')
0 files changed, 0 insertions, 0 deletions