platform_build/tools/releasetools
Bowgo Tsai e4544b1c02 Moving system_other key into product.img
Currently system_other AVB public key is placed in system.img.
However, this makes it's harder to have a *generic* system.img
across different product configs. Moving the key to /product
partition to allow more product-specific AVB keys.

Device board config can add /product/etc/fstab.postinstall,
to mount system_other with this key in /product. It can specify
different mount options, file systems, verity settings, etc., in
this product-specific fstab as well.

Bug: 123611926
Test: `make productimage` checks the following is generated.
      $OUT/product/etc/security/avb/system_other.avbpubkey
      Also checks it's included in $OUT/installed-files-product.{json, txt}

Test: run the following command and checks that
      PRODUCT/etc/security/avb/system_other.avbpubkey is updated:
      ./build/tools/releasetools/sign_target_files_apks \
        --avb_system_other_algorithm SHA256_RSA2048 \
        --avb_system_other_key external/avb/test/data/testkey_rsa2048.pem \
        out/dist/*-target_files-*.zip signed-target_files.zip

Change-Id: I6804f29941bec54375d80bd68a5aedb5c23b842e
2019-03-20 16:18:11 +08:00
..
testdata releasetools: Add apex_utils.py. 2019-03-15 22:08:42 -07:00
add_img_to_target_files
add_img_to_target_files.py Merge "Adds optional --rebuild_recovery flag to merge_target_files." 2019-03-19 21:32:28 +00:00
apex_utils.py releasetools: Add apex_utils.py. 2019-03-15 22:08:42 -07:00
blockimgdiff.py releasetools: Really allow removing partitions 2019-01-28 11:10:48 -08:00
build_image.py Moving system_other key into product.img 2019-03-20 16:18:11 +08:00
build_super_image.py Add supernod build target. 2019-03-13 11:15:21 -07:00
check_ota_package_signature.py releasetools: Switch to Python logging. 2018-10-17 07:51:04 -07:00
check_target_files_signatures
check_target_files_signatures.py Revert "releasetools: check_target_files_signatures.py checks APEXes." 2019-03-19 09:30:08 -07:00
common.py releasetools: Kill the use of os.getenv('AVBTOOL'). 2019-03-18 21:01:43 -07:00
edify_generator.py releasetools: Track edify function API changes. 2018-08-29 11:53:19 -07:00
img_from_target_files
img_from_target_files.py releasetools: Switch to Python logging. 2018-10-17 07:51:04 -07:00
make_recovery_patch
make_recovery_patch.py releasetools: Switch to Python logging. 2018-10-17 07:51:04 -07:00
merge_target_files.py Merge "Validates the config lists used by the script." 2019-03-19 23:56:25 +00:00
ota_from_target_files
ota_from_target_files.py Merge "releasetools: Include retrofit info into package metadata." 2019-03-07 18:11:30 +00:00
ota_package_parser.py
OWNERS releasetools: Update OWNERS. 2019-01-11 12:28:09 -08:00
pylintrc releasetools: Make scripts pylint clean. 2018-07-19 10:39:05 -07:00
rangelib.py
sign_target_files_apks
sign_target_files_apks.py Moving system_other key into product.img 2019-03-20 16:18:11 +08:00
sparse_img.py releasetools: Keep the original RangeSet for 'uses_shared_blocks' case. 2018-12-06 10:28:49 -08:00
target_files_diff.py Remove ro.expect.recovery_id 2019-01-28 10:56:37 -08:00
test_add_img_to_target_files.py Code improvement to adjusted the blocks size for care_map file 2019-02-13 18:34:50 +00:00
test_apex_utils.py releasetools: Add apex_utils.py. 2019-03-15 22:08:42 -07:00
test_blockimgdiff.py blockimgdiff: add a function to select and convert 'diff' to new 2018-12-19 20:21:25 -08:00
test_build_image.py build_image: improvements to right size for dynamic partitions 2018-10-23 15:14:00 -07:00
test_common.py releasetools: Add common.ExtractAvbPublicKey(). 2019-03-15 10:47:46 -07:00
test_ota_from_target_files.py releasetools: Include retrofit info into package metadata. 2019-03-06 16:19:11 -08:00
test_rangelib.py releasetools: Add a common base class for unittests. 2018-10-11 23:01:09 -07:00
test_sign_target_files_apks.py releasetools: Allow skipping PRESIGNED APEXes. 2019-03-19 12:25:02 -07:00
test_utils.py releasetools: Log to stdout when running tests. 2018-10-18 15:05:49 -07:00
test_validate_target_files.py Check the completeness of original blocks during target files validation 2019-02-20 15:47:30 -08:00
test_verity_utils.py releasetools: Add tests for VerityImageBuilder. 2018-11-06 10:00:51 -08:00
validate_target_files.py Check the completeness of original blocks during target files validation 2019-02-20 15:47:30 -08:00
verity_utils.py Merge "releasetools: Add tests for VerityImageBuilder." 2018-11-07 20:23:12 +00:00