From 21391f1eb5ef3b1c2229f46ab1e91d3bcd33f739 Mon Sep 17 00:00:00 2001 From: codeworkx Date: Sat, 24 Nov 2012 07:59:18 +0100 Subject: common: update releasetools for mr1 Change-Id: I448b1b9c4a1333d7d8b38ab688259e1cdd2840e7 --- releasetools/galaxys2_ota_from_target_files | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) (limited to 'releasetools') diff --git a/releasetools/galaxys2_ota_from_target_files b/releasetools/galaxys2_ota_from_target_files index 61cb7cc..d3854bd 100755 --- a/releasetools/galaxys2_ota_from_target_files +++ b/releasetools/galaxys2_ota_from_target_files @@ -44,9 +44,12 @@ def WriteFullOTAPackage(input_zip, output_zip): # change very often. script = edify_generator.EdifyGenerator(3, OPTIONS.info_dict) - metadata = {"post-build": GetBuildProp("ro.build.fingerprint", input_zip), - "pre-device": GetBuildProp("ro.product.device", input_zip), - "post-timestamp": GetBuildProp("ro.build.date.utc", input_zip), + metadata = {"post-build": GetBuildProp("ro.build.fingerprint", + OPTIONS.info_dict), + "pre-device": GetBuildProp("ro.product.device", + OPTIONS.info_dict), + "post-timestamp": GetBuildProp("ro.build.date.utc", + OPTIONS.info_dict), } device_specific = common.DeviceSpecificParams( -- cgit v1.1