platform_build/tools/releasetools
Satoshi Futenma 1f93ce20c5 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.
Change-Id: I3b926b8cd69bc74dff6ccf8b5ccc72bedffcac6f
2023-05-16 10:21:05 +02:00
..
merge Merge "Support to merge PREBUILT_IMAGES" 2023-04-25 04:24:20 +00:00
testdata Add a tool to merge two partial OTAs 2022-09-07 20:35:46 +00:00
add_img_to_target_files.py parallelize add_partition_calls only if output_zip is None 2023-05-12 15:14:58 +09:00
Android.bp Merge "Add an automated tools for generating brick OTA package" 2023-03-15 09:24:40 +00:00
apex_utils.py Merge "Revert "Remove all ZIP64LIMIT hack"" 2023-04-15 01:48:58 +00:00
blockimgdiff.py Fix 'expected str instance, bytes found' error when compute patches 2022-11-11 00:26:19 +08:00
build_image.py Allow build_image.py to build vbmeta partition 2022-12-20 10:59:58 -08:00
build_super_image.py
care_map_pb2.py
check_ota_package_signature.py Revert "Remove all ZIP64LIMIT hack" 2023-04-14 21:32:54 +00:00
check_partition_sizes.py Remove catch + sys.exit idiom 2022-02-17 21:46:21 -08:00
check_target_files_signatures.py Update APK parser to be compatible with new signer output 2022-02-07 16:38:09 -08:00
check_target_files_vintf.py Switch check_targetfiles_vintf to use the correct blkid binary. 2023-01-20 00:56:54 +00:00
common.py Support generating partial OTAs from extracted target_files 2023-05-02 20:48:14 -07:00
create_brick_ota.py Add an automated tools for generating brick OTA package 2023-03-14 16:58:36 -07:00
edify_generator.py
find_shareduid_violation.py
fsverity_metadata_generator.py Write signature size even when it's empty 2022-01-07 10:56:17 +09:00
images.py Remove HashTreeInfo from verity_utils.py 2022-08-25 03:30:06 +00:00
img_from_target_files.py Add fastboot-info to updatepackage 2023-05-09 13:44:22 -07:00
jarjar-rules.txt
make_recovery_patch.py
merge_ota.py Support custom payload signer in merge_ota 2023-05-16 10:21:05 +02:00
non_ab_ota.py Fix non-AB ota generation for directories 2023-05-09 20:30:53 -07:00
ota_from_target_files.py Fix non-AB ota generation for directories 2023-05-09 20:30:53 -07:00
ota_metadata.proto
ota_metadata_pb2.py Update ota_metadata_pb2.py 2022-09-23 10:07:04 -07:00
ota_package_parser.py
ota_utils.py Support generating partial OTAs from extracted target_files 2023-05-02 20:48:14 -07:00
OWNERS Moves merge scripts into a new merge folder. 2022-03-08 16:37:14 -08:00
payload_signer.py Support custom payload signer in merge_ota 2023-05-16 10:21:05 +02:00
pylintrc
rangelib.py
sign_apex.py Support container password for apex signing 2022-09-30 09:19:57 -07:00
sign_target_files_apks.py Merge "Revert "Remove all ZIP64LIMIT hack"" 2023-04-15 01:48:58 +00:00
sparse_img.py Use AVB footer to determine caremap 2022-10-10 13:12:50 -07:00
target_files_diff.py Fix python3 incompatiable code 2021-11-09 23:37:11 -08:00
test_add_img_to_target_files.py Use AVB footer to determine caremap 2022-10-10 13:12:50 -07:00
test_apex_utils.py Fix some python2/3 migration issues 2021-12-21 12:31:55 -08:00
test_blockimgdiff.py
test_build_image.py fix releasetools_test 2021-10-27 16:06:10 +09:00
test_check_partition_sizes.py
test_check_target_files_vintf.py Add test cases for APEX VINTF. 2023-03-09 17:00:06 +00:00
test_common.py Merge "Revert "Remove all ZIP64LIMIT hack"" 2023-04-15 01:48:58 +00:00
test_merge_ota.py Add a tool to merge two partial OTAs 2022-09-07 20:35:46 +00:00
test_non_ab_ota.py
test_ota_from_target_files.py Refactor ota_utils to reduce dependency on global OPTIONS 2022-09-06 23:51:20 +00:00
test_ota_utils.py
test_rangelib.py
test_sign_apex.py Add sign_sepolicy_path for a binary to sign sepolicy.apex. 2022-06-27 11:03:26 +02:00
test_sign_target_files_apks.py Remove replace verity key args 2022-08-24 06:37:12 +00:00
test_utils.py Use AVB footer to determine caremap 2022-10-10 13:12:50 -07:00
test_validate_target_files.py
test_verity_utils.py Remove HashTreeInfo from verity_utils.py 2022-08-25 03:30:06 +00:00
validate_target_files.py validate_target_files: support gki_arm64 2022-03-09 16:35:19 +08:00
verity_utils.py Try with search_path for some avb path args 2023-04-14 12:12:47 +08:00