From b5661d6ef561ebd745024890d43396eef747191a Mon Sep 17 00:00:00 2001 From: Kelvin Zhang Date: Wed, 6 Sep 2023 12:55:08 -0700 Subject: [PATCH] Add per partition timestamp to 16K boot OTA update_engine requiers per partition timestamp if this partition's build prop includes build.date.utc. Test: th Bug: 293313353 Change-Id: I6bf3de8e855f0830b26bdbe2cbdc78ba891662a7 --- tools/releasetools/ota_from_raw_img.py | 1 + 1 file changed, 1 insertion(+) diff --git a/tools/releasetools/ota_from_raw_img.py b/tools/releasetools/ota_from_raw_img.py index 63f88ea925..0c1c05acde 100644 --- a/tools/releasetools/ota_from_raw_img.py +++ b/tools/releasetools/ota_from_raw_img.py @@ -84,6 +84,7 @@ def main(argv): cmd.append("--is_partial_update") if args.max_timestamp: cmd.append("--max_timestamp=" + str(args.max_timestamp)) + cmd.append("--partition_timestamps=boot:" + str(args.max_timestamp)) logger.info("Running %s", cmd) subprocess.check_call(cmd)