platform_build/tools/releasetools
Kelvin Zhang eb586efe6f Check for existence of private key before generating OTA
At the end of OTA generation, we will use some private key to sign the
OTA payload. Since signing happens after the payload is being generated,
if caller passes an incorrect key path, caller won't notice it until 1
hour later when delta_generator finishes. At which point caller has to
staart from scratch, pass in another key path, and wait for an hour.
Let's detect incorrect key path before calling delta_generator, so
caller will get an error message right at beginning.

Test: th
Change-Id: Iefb1e0a9ed86f82664be1675afb84c020ec28fe7
2021-02-11 19:06:09 -05:00
..
testdata Fix some wording to comply with respectful-code 2020-07-23 10:04:12 -04:00
add_img_to_target_files
add_img_to_target_files.py Emit apex_info to target_files META/apex_info.pb 2021-01-25 09:15:30 -05:00
Android.bp Clean TEST_MAPPING config based on go/a-unit-tests 2021-02-04 09:12:05 -08:00
apex_utils.py Fix test failures due to binaries not found in PATH 2021-02-02 14:24:54 -05:00
blockimgdiff.py Update language to comply with Android’s inclusive language guidance 2020-07-28 15:43:15 -04:00
build_image.py Merge "Enable system partition compression" 2020-12-10 00:41:04 +00:00
build_super_image.py releasetools: Pass --virtual-ab to lpmake. 2019-12-16 22:17:28 +00:00
check_ota_package_signature.py Allow zip64 support when opening zip files 2020-09-22 16:53:39 -04:00
check_partition_sizes.py Fix Virtual A/B size checks 2019-11-05 14:06:23 -08:00
check_target_files_signatures
check_target_files_signatures.py Use apksigner in check_target_files_signatures 2020-07-14 21:48:48 -07:00
check_target_files_vintf.py Pass kernel version file to check_vintf. 2020-11-13 18:45:03 -08:00
common.py Merge "Make common.py python3 compatible" 2021-02-10 18:29:43 +00:00
edify_generator.py Fix some wording to comply with respectful-code 2020-07-23 10:04:12 -04:00
find_shareduid_violation.py Finds APK shared UID violations when merging target files. 2020-10-29 09:33:26 -07:00
images.py Factor out the image classes to break circular dependency 2019-07-15 17:02:23 -07:00
img_from_target_files
img_from_target_files.py Revert "Revert "Add prebuilt bootloader var and add bootloader t..." 2020-08-27 13:18:24 -07:00
make_recovery_patch.py Moving recovery resources from /system to /vendor 2019-10-04 00:04:34 +00:00
merge_builds.py Removes custom prefix/suffix from MergeDynamicPartitionInfoDicts. 2019-11-26 11:09:17 -08:00
merge_target_files.py Updates merge_target_files soong_zip to use -r instead of -l. 2021-02-09 11:01:42 -08:00
non_ab_ota.py Define the protobuf for OTA metadata 2020-08-26 16:17:35 -07:00
ota_from_target_files
ota_from_target_files.py Check for existence of private key before generating OTA 2021-02-11 19:06:09 -05:00
ota_metadata.proto Emit apex_info to target_files META/apex_info.pb 2021-01-25 09:15:30 -05:00
ota_metadata_pb2.py Emit apex_info to target_files META/apex_info.pb 2021-01-25 09:15:30 -05:00
ota_package_parser.py Allow zip64 support when opening zip files 2020-09-22 16:53:39 -04:00
ota_utils.py Split PARTITIONS_WITH_BUILD_PROP from *_WITH_CARE_MAP 2021-01-07 17:20:22 -08:00
OWNERS Add elsk to the owner of scripts 2020-04-28 14:56:01 -07:00
pylintrc
rangelib.py
sign_apex.py Allow passing in codename_to_api_level_map to sign_apex. 2020-05-01 13:56:04 +00:00
sign_target_files_apks
sign_target_files_apks.py Emit apex_info to target_files META/apex_info.pb 2021-01-25 09:15:30 -05:00
sparse_img.py Preserve the monotonic property when subtracting 0 block 2020-02-27 13:24:11 -08:00
target_files_diff.py
test_add_img_to_target_files.py Allow zip64 support when opening zip files 2020-09-22 16:53:39 -04:00
test_apex_utils.py Allow zip64 support when opening zip files 2020-09-22 16:53:39 -04:00
test_blockimgdiff.py Factor out the image classes to break circular dependency 2019-07-15 17:02:23 -07:00
test_build_image.py
test_check_partition_sizes.py Fix Virtual A/B size checks 2019-11-05 14:06:23 -08:00
test_check_target_files_vintf.py Update language to comply with Android's inclusive language guidance 2020-07-29 12:06:00 -07:00
test_common.py Runs host_init_verifier on merged target files packages. 2020-11-24 17:26:27 +00:00
test_merge_target_files.py Formatting and general cleanup of merge_target_files. 2020-10-22 16:37:13 -07:00
test_non_ab_ota.py Define the protobuf for OTA metadata 2020-08-26 16:17:35 -07:00
test_ota_from_target_files.py Create a function that can generate ApexInfo using target-files 2021-01-22 20:13:32 -05:00
test_rangelib.py
test_sign_apex.py Add support for signing a compressed apex 2021-01-27 01:27:11 +00:00
test_sign_target_files_apks.py Allow zip64 support when opening zip files 2020-09-22 16:53:39 -04:00
test_utils.py Create a function that can generate ApexInfo using target-files 2021-01-22 20:13:32 -05:00
test_validate_target_files.py Fix errors from validate_target_files 2021-01-12 14:04:58 -08:00
test_verity_utils.py Update language to comply with Android's inclusive language guidance 2020-07-29 12:06:00 -07:00
validate_target_files.py Fix errors from validate_target_files 2021-01-12 14:04:58 -08:00
verity_utils.py Add options to sign the prebuilt custom images. 2020-05-21 22:22:19 +00:00