forked from openkylin/platform_build
releasetools: Use fixed timestamp in otacerts.zip.
am: 7ee3a96
* commit '7ee3a9678e7191c48f0ba4e04792fe97925c1aa1':
releasetools: Use fixed timestamp in otacerts.zip.
Change-Id: I9e8260491819e00eea6f4eb55b1722ae1670ae85
This commit is contained in:
commit
41e5c4e065
|
@ -421,8 +421,8 @@ def ReplaceOtaKeys(input_tf_zip, output_tf_zip, misc_info):
|
|||
temp_file = cStringIO.StringIO()
|
||||
certs_zip = zipfile.ZipFile(temp_file, "w")
|
||||
for k in mapped_keys:
|
||||
certs_zip.write(k)
|
||||
certs_zip.close()
|
||||
common.ZipWrite(certs_zip, k)
|
||||
common.ZipClose(certs_zip)
|
||||
common.ZipWriteStr(output_tf_zip, "SYSTEM/etc/security/otacerts.zip",
|
||||
temp_file.getvalue())
|
||||
|
||||
|
|
Loading…
Reference in New Issue