diff options
| author | 2023-04-18 16:41:35 +0900 | |
|---|---|---|
| committer | 2023-05-17 17:22:51 +0000 | |
| commit | 6c8f896589a724284b4eb520ffa346e82e7ebe43 (patch) | |
| tree | 96a243553a03af0e64bdaeea703dadbdd97526ce /tools/warn/java_warn_patterns.py | |
| parent | e4783d4b7a5e15f10e99a6042bd85010d3dd992a (diff) | |
Support custom payload signer in merge_ota
Add options to handle custom payload signer as it is required in
merge_ota.py as well if the original OTA packages are signed by
the signer.
If input is only one OTA, clone apex_info.pb to the target.
Use common.ZipWriteStr instead of zipfile.writestr, this ensures
that the same permission for the entries as done by
ota_from_target_files.
Bug: 282189563
Test: manual. pass single OTA to merge_ota, with same signing
parameters as originally used. Confirm that output zip is
binary identical to input.
(cherry picked from https://android-review.googlesource.com/q/commit:1f93ce20c5a5f3e7c2f6b5e1f9fdc4d2572220cc)
Merged-In: I3b926b8cd69bc74dff6ccf8b5ccc72bedffcac6f
Change-Id: I3b926b8cd69bc74dff6ccf8b5ccc72bedffcac6f
Diffstat (limited to 'tools/warn/java_warn_patterns.py')
0 files changed, 0 insertions, 0 deletions