Merge "releasetools: Use fixed timestamp in otacerts.zip."
am: 7b049f7
* commit '7b049f715c4dc241ffb23ddee8374742246936de':
releasetools: Use fixed timestamp in otacerts.zip.
Change-Id: I3708511770fb022618592753d9de6ddc0c4df23b
This commit is contained in:
@@ -421,8 +421,8 @@ def ReplaceOtaKeys(input_tf_zip, output_tf_zip, misc_info):
|
|||||||
temp_file = cStringIO.StringIO()
|
temp_file = cStringIO.StringIO()
|
||||||
certs_zip = zipfile.ZipFile(temp_file, "w")
|
certs_zip = zipfile.ZipFile(temp_file, "w")
|
||||||
for k in mapped_keys:
|
for k in mapped_keys:
|
||||||
certs_zip.write(k)
|
common.ZipWrite(certs_zip, k)
|
||||||
certs_zip.close()
|
common.ZipClose(certs_zip)
|
||||||
common.ZipWriteStr(output_tf_zip, "SYSTEM/etc/security/otacerts.zip",
|
common.ZipWriteStr(output_tf_zip, "SYSTEM/etc/security/otacerts.zip",
|
||||||
temp_file.getvalue())
|
temp_file.getvalue())
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user