commit | b220d669d465377e2bb55a37a7028c72d93dcef3 | [log] [tgz] |
---|---|---|
author | Tudor Brindus <[email protected]> | Tue Jul 10 23:55:51 2018 -0700 |
committer | chrome-bot <[email protected]> | Wed Jul 11 18:48:45 2018 -0700 |
tree | 694cb5ca136a0d6908fc72d9c6faa24595a84494 | |
parent | 50a74d68e8667b3b1ffc21756e0371306426cd8c [diff] [blame] |
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 <[email protected]> Tested-by: Tudor Brindus <[email protected]> Reviewed-by: Amin Hassani <[email protected]>
diff --git a/scripts/update_payload/common.py b/scripts/update_payload/common.py index 88df32e..9061a754 100644 --- a/scripts/update_payload/common.py +++ b/scripts/update_payload/common.py
@@ -43,8 +43,9 @@ 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.