diff options
author | Amin Hassani <ahassani@chromium.org> | 2019-09-27 10:24:31 -0700 |
---|---|---|
committer | Commit Bot <commit-bot@chromium.org> | 2019-10-03 00:48:24 +0000 |
commit | 0f59a9a41177186cf41b331e279d0b7804512654 (patch) | |
tree | 9da92573b1513e36c8e6ce819bfe2354edaeec64 /scripts/payload_info.py | |
parent | 051627abe8995741f996e3931d899c0b08e503eb (diff) |
update_engine: Deprecate minor version 1
Minor version 1 was for the old days where we rewrite the signle
partition with an update (no A/B partitions). But those days are long
over and we don't think there is any device out that has this capability
anymore. Even if there is, we can always serve full payloads along with
the stepping stone we have in M53. So this is safe to go.
BUG=chromium:1008553
TEST=sudo FEATURES=test emerge update_engine
TEST=ran cros flash two times.
Change-Id: Ib928ade36af5136cd4013a30dfb39ee7fd5b07b1
Reviewed-on: https://chromium-review.googlesource.com/c/aosp/platform/system/update_engine/+/1829160
Tested-by: Amin Hassani <ahassani@chromium.org>
Reviewed-by: Sen Jiang <senj@chromium.org>
Commit-Queue: Amin Hassani <ahassani@chromium.org>
Diffstat (limited to 'scripts/payload_info.py')
-rwxr-xr-x | scripts/payload_info.py | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/scripts/payload_info.py b/scripts/payload_info.py index 09a7cf78..d10cb241 100755 --- a/scripts/payload_info.py +++ b/scripts/payload_info.py @@ -187,10 +187,6 @@ class PayloadCommand(object): num_write_seeks += 1 last_ext = curr_ext - if manifest.minor_version == 1: - # Rootfs and kernel are written during the filesystem copy in version 1. - written_blocks += manifest.old_rootfs_info.size / manifest.block_size - written_blocks += manifest.old_kernel_info.size / manifest.block_size # Old and new rootfs and kernel are read once during verification read_blocks += manifest.old_rootfs_info.size / manifest.block_size read_blocks += manifest.old_kernel_info.size / manifest.block_size |