platform_build/tools/releasetools
Bowgo Tsai 2a781692ae sign_target_files_apks: adding --allow_gsi_debug_sepolicy
https://android-review.googlesource.com/q/topic:gsi_debug_policy
adds userdebug_plat_sepolicy.cil into the GSI system.img to
reduce the steps of repacking a debug ramdisk.

This CL checks that the file userdebug_plat_sepolicy.cil shouldn't
exist before signing, unless the caller explicitly specifies
--allow_gsi_debug_sepolicy to allow it.

Note: also fixes the indentation around the block.

Bug: 201482141
Test: sign_target_files_apks *-target_files-*.zip signed.zip
Change-Id: I56ed328a9ae70cf49dbd3c6efb5a4a8c54e1b7a7
2021-10-14 16:54:37 +08:00
..
testdata Removing AFTL integration from release tools. 2021-06-29 12:38:59 +00:00
add_img_to_target_files
add_img_to_target_files.py Fix aosp_x86_64-user build failure 2021-09-27 14:11:14 +08:00
Android.bp Missing required packages for f2fs when building ota package 2021-06-08 19:12:15 -07:00
apex_utils.py Make apex util detect if hashtree is present 2021-08-06 11:51:37 -04:00
blockimgdiff.py Update language to comply with Android’s inclusive language guidance 2020-07-28 15:43:15 -04:00
build_image.py Revert "Clean up code duplication in build_image.py." 2021-10-11 17:25:27 +00:00
build_super_image.py Simplify codes for BuildSuperImage func 2021-04-23 19:58:40 +08:00
care_map_pb2.py Handle caremap for partial OTAs 2021-06-04 16:17:32 -04: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 Check super size for factory OTA at build time 2021-05-13 17:41:52 -07: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 Build vendor images first when rebuilding with vendor_otatools. 2021-09-15 21:53:25 +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
img_from_target_files
img_from_target_files.py More accurate error if input_file is not exists 2021-04-21 16:41:58 +08:00
jarjar-rules.txt Add ota_metadata_proto_java 2021-05-05 09:08:12 -04:00
make_recovery_patch.py
merge_builds.py
merge_target_files.py Support for dexopt postprocessing in merge_target_files. 2021-07-22 13:39:10 -07: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 Add option to override minor version 2021-09-09 12:16:19 -07:00
ota_metadata.proto Amend the apex info for ota package 2021-06-07 20:33:46 -07:00
ota_metadata_pb2.py Add spl-downgrade field to ota metadata 2021-02-25 10:15:45 -05:00
ota_package_parser.py Allow zip64 support when opening zip files 2020-09-22 16:53:39 -04:00
ota_utils.py Fix a bug in computing streaming property of payload.bin 2021-07-28 11:40:18 -04:00
OWNERS Amend owner files for releasetool scripts 2021-07-21 16:10:53 -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 sign_target_files_apks: adding --allow_gsi_debug_sepolicy 2021-10-14 16:54:37 +08:00
sparse_img.py
target_files_diff.py
test_add_img_to_target_files.py Moves care map generation logic to common.py, so it can be reused. 2021-04-13 11:42:26 -07:00
test_apex_utils.py Allow zip64 support when opening zip files 2020-09-22 16:53:39 -04:00
test_blockimgdiff.py
test_build_image.py
test_check_partition_sizes.py Check super size for factory OTA at build time 2021-05-13 17:41:52 -07: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 Removing AFTL integration from release tools. 2021-06-29 12:38:59 +00:00
test_merge_target_files.py Regenerate odm or vendor using combined sepolicy if --rebuild-sepolicy. 2021-07-01 16:29:15 -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 Add apex info to the streaming property file 2021-06-10 14:44:26 -07:00
test_ota_utils.py Fix a bug in computing streaming property of payload.bin 2021-07-28 11:40:18 -04: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 sign_target_files_apks: replacing GKI signing args completely 2021-05-10 17:43:52 +08: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 Calculate the vbmeta digest when building images 2021-05-05 18:04:51 +00:00
validate_target_files.py Skip vbmeta_system if it doesn't exist 2021-07-27 09:17:05 -04:00
verity_utils.py Calculate the vbmeta digest when building images 2021-05-05 18:04:51 +00:00