summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorcodeworkx <codeworkx@cyanogenmod.org>2012-11-24 07:59:18 +0100
committercodeworkx <codeworkx@cyanogenmod.org>2012-11-24 07:59:18 +0100
commit21391f1eb5ef3b1c2229f46ab1e91d3bcd33f739 (patch)
treebeb7710c37744008dd67ea60cb27e9416ba25655
parent44d3f4db7579779bed3506cbea63ee7c86eaa476 (diff)
downloaddevice_samsung_galaxys2-common-21391f1eb5ef3b1c2229f46ab1e91d3bcd33f739.zip
device_samsung_galaxys2-common-21391f1eb5ef3b1c2229f46ab1e91d3bcd33f739.tar.gz
device_samsung_galaxys2-common-21391f1eb5ef3b1c2229f46ab1e91d3bcd33f739.tar.bz2
common: update releasetools for mr1
Change-Id: I448b1b9c4a1333d7d8b38ab688259e1cdd2840e7
-rwxr-xr-xreleasetools/galaxys2_ota_from_target_files9
1 files changed, 6 insertions, 3 deletions
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(