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
This commit is contained in:
Tao Bao 2017-03-09 15:01:11 -08:00
parent c87b38f547
commit 39f3eaf221
1 changed files with 1 additions and 0 deletions

View File

@ -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),