5121655643
In particular, it replaces the generated calls to edify function of `apply_patch()` and `apply_patch_check()` with `patch_partition()` and `patch_partition_check()` instead. It adds two functions to EdifyGenerator: PatchPartition() and PatchPartitionCheck() for Python releasetools callers. It also tries to handle the callers of obsolete EdifyGenerator.PatchCheck() and EdifyGenerator.ApplyPatch(), if their inputs are in known format. Otherwise it raises an exception to avoid generating an OTA that updater doesn't understand. It requires the matching updater changes in the same topic. Bug: 110106408 Test: Generate an incremental package with the new script and updater. Apply the package on device. Test: Revert the change in ota_from_target_files.py, so that it calls the obsolete EdifyGenerator functions. Check that it generates the same incremental package. Change-Id: Ifc55cb40d3a45116fd4d408536d037eca249effa |
||
---|---|---|
.. | ||
testdata | ||
add_img_to_target_files | ||
add_img_to_target_files.py | ||
blockimgdiff.py | ||
build_image.py | ||
check_ota_package_signature.py | ||
check_target_files_signatures | ||
check_target_files_signatures.py | ||
common.py | ||
edify_generator.py | ||
img_from_target_files | ||
img_from_target_files.py | ||
make_recovery_patch | ||
make_recovery_patch.py | ||
ota_from_target_files | ||
ota_from_target_files.py | ||
ota_package_parser.py | ||
OWNERS | ||
pylintrc | ||
rangelib.py | ||
sign_target_files_apks | ||
sign_target_files_apks.py | ||
sparse_img.py | ||
target_files_diff.py | ||
test_add_img_to_target_files.py | ||
test_blockimgdiff.py | ||
test_build_image.py | ||
test_common.py | ||
test_ota_from_target_files.py | ||
test_rangelib.py | ||
test_sign_target_files_apks.py | ||
test_utils.py | ||
test_validate_target_files.py | ||
validate_target_files.py |