diff options
author | Doug Zongker <dougz@android.com> | 2010-06-21 15:30:45 -0700 |
---|---|---|
committer | Doug Zongker <dougz@android.com> | 2010-06-21 15:31:39 -0700 |
commit | 3b85269cfe10ec15e9b544dd6964b8c9f5f761f9 (patch) | |
tree | 0d8dbb8bc5f1bbbda8444a50ef70dfefcfb5eb48 /tools/releasetools | |
parent | 068986605b2afcd5e044b62f22ac6ecd5c15b519 (diff) | |
download | build-3b85269cfe10ec15e9b544dd6964b8c9f5f761f9.zip build-3b85269cfe10ec15e9b544dd6964b8c9f5f761f9.tar.gz build-3b85269cfe10ec15e9b544dd6964b8c9f5f761f9.tar.bz2 |
include build timestamp in OTA metadata
Change-Id: I44292c6346db3356dfafbd044027e37a9b467cfe
Diffstat (limited to 'tools/releasetools')
-rwxr-xr-x | tools/releasetools/ota_from_target_files | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tools/releasetools/ota_from_target_files b/tools/releasetools/ota_from_target_files index cf5fb34..932d5b0 100755 --- a/tools/releasetools/ota_from_target_files +++ b/tools/releasetools/ota_from_target_files @@ -355,6 +355,7 @@ def WriteFullOTAPackage(input_zip, output_zip): 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), } device_specific = common.DeviceSpecificParams( @@ -602,6 +603,7 @@ def WriteIncrementalOTAPackage(target_zip, source_zip, output_zip): raise ValueError('unknown script mode "%s"' % (OPTIONS.script_mode,)) metadata = {"pre-device": GetBuildProp("ro.product.device", source_zip), + "post-timestamp": GetBuildProp("ro.build.date.utc", target_zip), } device_specific = common.DeviceSpecificParams( |