From 39f3eaf22135d52b87a83039355df90a56e7d85b Mon Sep 17 00:00:00 2001 From: Tao Bao Date: Thu, 9 Mar 2017 15:01:11 -0800 Subject: [PATCH] releasetools: Fix the missing 'post-build' in full OTAs. The line was unintentionally removed in commit 7f804ba. Test: ota_from_target_files.py generates a full OTA. Check the package metadata. Change-Id: Icae88e2a9bb2bfc450a3d0d7ab524d6a6eac9df5 --- tools/releasetools/ota_from_target_files.py | 1 + 1 file changed, 1 insertion(+) diff --git a/tools/releasetools/ota_from_target_files.py b/tools/releasetools/ota_from_target_files.py index 7e970a96f4..8222377df3 100755 --- a/tools/releasetools/ota_from_target_files.py +++ b/tools/releasetools/ota_from_target_files.py @@ -331,6 +331,7 @@ def WriteFullOTAPackage(input_zip, output_zip): target_fp = CalculateFingerprint(oem_props, oem_dicts and oem_dicts[0], OPTIONS.info_dict) metadata = { + "post-build": target_fp, "pre-device": GetOemProperty("ro.product.device", oem_props, oem_dicts and oem_dicts[0], OPTIONS.info_dict),