Loading tools/releasetools/sign_target_files_apks.py +5 −2 Original line number Diff line number Diff line Loading @@ -910,7 +910,10 @@ def ProcessTargetFiles(input_tf_zip: zipfile.ZipFile, output_tf_zip: zipfile.Zip # b/384813199: handles the pre-signed com.android.virt.apex in GSI. if payload_key == 'PRESIGNED': new_pubkey = GetMicrodroidVbmetaKey(virt_apex_path, with tempfile.NamedTemporaryFile() as virt_apex_temp_file: virt_apex_temp_file.write(input_tf_zip.read(virt_apex_path)) virt_apex_temp_file.flush() new_pubkey = GetMicrodroidVbmetaKey(virt_apex_temp_file.name, misc_info['avb_avbtool']) else: new_pubkey_path = common.ExtractAvbPublicKey( Loading Loading
tools/releasetools/sign_target_files_apks.py +5 −2 Original line number Diff line number Diff line Loading @@ -910,7 +910,10 @@ def ProcessTargetFiles(input_tf_zip: zipfile.ZipFile, output_tf_zip: zipfile.Zip # b/384813199: handles the pre-signed com.android.virt.apex in GSI. if payload_key == 'PRESIGNED': new_pubkey = GetMicrodroidVbmetaKey(virt_apex_path, with tempfile.NamedTemporaryFile() as virt_apex_temp_file: virt_apex_temp_file.write(input_tf_zip.read(virt_apex_path)) virt_apex_temp_file.flush() new_pubkey = GetMicrodroidVbmetaKey(virt_apex_temp_file.name, misc_info['avb_avbtool']) else: new_pubkey_path = common.ExtractAvbPublicKey( Loading