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..9061a75 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.