Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 7b049f71 authored by Tao Bao's avatar Tao Bao Committed by Gerrit Code Review
Browse files

Merge "releasetools: Use fixed timestamp in otacerts.zip."

parents 8a547f19 83cd79d3
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -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())