diff options
author | Tudor Brindus <tbrindus@chromium.org> | 2018-07-10 23:55:51 -0700 |
---|---|---|
committer | chrome-bot <chrome-bot@chromium.org> | 2018-07-11 18:48:45 -0700 |
commit | b220d669d465377e2bb55a37a7028c72d93dcef3 (patch) | |
tree | 694cb5ca136a0d6908fc72d9c6faa24595a84494 /scripts/update_payload/common.py | |
parent | 50a74d68e8667b3b1ffc21756e0371306426cd8c (diff) |
update_payload: Make paycheck take "root" instead of "rootfs"
This commit makes paycheck take "root" as the rootfs partition label
instead of "rootfs", which makes it consistent with other tooling like
delta_generator.
BUG=chromium:794404
TEST=test_paycheck.sh and run_unittests
Change-Id: I20835e93adbcde459bc86d832e695b38bca55e38
Reviewed-on: https://chromium-review.googlesource.com/1132843
Commit-Ready: Tudor Brindus <tbrindus@chromium.org>
Tested-by: Tudor Brindus <tbrindus@chromium.org>
Reviewed-by: Amin Hassani <ahassani@chromium.org>
Diffstat (limited to 'scripts/update_payload/common.py')
-rw-r--r-- | scripts/update_payload/common.py | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/scripts/update_payload/common.py b/scripts/update_payload/common.py index 88df32ea..9061a754 100644 --- a/scripts/update_payload/common.py +++ b/scripts/update_payload/common.py @@ -43,8 +43,9 @@ BROTLI_BSDIFF_MINOR_PAYLOAD_VERSION = 4 PUFFDIFF_MINOR_PAYLOAD_VERSION = 5 KERNEL = 'kernel' -ROOTFS = 'rootfs' -CROS_PARTITIONS = (KERNEL, ROOTFS) +ROOTFS = 'root' +# Tuple of (name in system, name in protobuf). +CROS_PARTITIONS = ((KERNEL, KERNEL), (ROOTFS, 'rootfs')) # # Payload operation types. |