Merge "releasetools: Use fixed timestamp in otacerts.zip."
This commit is contained in:
commit
7b049f715c
1 changed files with 2 additions and 2 deletions
|
@ -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 a new issue