platform_build/tools/releasetools
Shashikant Baviskar 338856f92b A/B update: Replace the zip FileHeader mechanism for update package
When the update package gets larger than 2 GiB, payload.bin offset
mentioned in metadata file for ota-streaming-property-files gets
shifted (CrAU of payload.bin) because ZipInfo FileHeader() returns
incorrect value. To solve the issue, offset is re-calculated from
fixed bytes of central directory file header, filename length and
extra length.

This patch is to sync with update_device.py script.

Test: manually create an A/B update package and run it using
      update_device.py
Bug: 111198589

Change-Id: I9bf5a5ca24938cad3206d04af529f70d45e992c0
2018-08-23 10:13:20 +09:00
..
testdata releasetools: Support verifying AVB signed images with chained partitions. 2018-07-23 15:20:14 -07:00
add_img_to_target_files
add_img_to_target_files.py s/product-services/product_services/g 2018-08-20 10:44:59 -07:00
blockimgdiff.py releasetools: Make scripts pylint clean. 2018-07-19 10:39:05 -07:00
build_image.py s/product-services/product_services/g 2018-08-20 10:44:59 -07:00
check_ota_package_signature.py releasetools: Capture stderr output when calling delta_generator. 2018-02-05 23:39:23 -08:00
check_target_files_signatures
check_target_files_signatures.py releasetools: Call Cleanup() in check_target_files_signatures.py. 2018-03-01 10:12:39 -08:00
common.py Install recovery etc files to recovery/root/system/etc. 2018-08-21 10:30:49 -07:00
edify_generator.py releasetools: Make scripts pylint clean. 2018-07-19 10:39:05 -07:00
img_from_target_files
img_from_target_files.py releasetools: Make scripts pylint clean. 2018-07-19 10:39:05 -07:00
make_recovery_patch
make_recovery_patch.py releasetools: Replace print stmt with print(). 2017-01-13 14:55:14 -08:00
ota_from_target_files Fix build. 2015-09-15 07:50:10 +00:00
ota_from_target_files.py A/B update: Replace the zip FileHeader mechanism for update package 2018-08-23 10:13:20 +09:00
ota_package_parser.py Add a script to parse an block-based ota package 2017-05-09 21:01:19 +00:00
OWNERS Add OWNERS in build/make 2017-06-21 16:09:56 -07:00
pylintrc releasetools: Make scripts pylint clean. 2018-07-19 10:39:05 -07:00
rangelib.py releasetools: RangeSet.monotonic is not an optional attribute. 2018-02-06 16:00:52 -08:00
sign_target_files_apks
sign_target_files_apks.py Install recovery etc files to recovery/root/system/etc. 2018-08-21 10:30:49 -07:00
sparse_img.py releasetools: Allow generating BBOTA for images with shared blocks. 2018-02-13 11:14:23 -08:00
target_files_diff.py target_files_diff: Fix the issue with file type change. 2016-04-25 18:35:20 +00:00
test_add_img_to_target_files.py Generates the care_map.txt in protobuf format 2018-08-17 17:39:00 +00:00
test_blockimgdiff.py releasetools: Remove RemoveBackwardEdges(). 2018-07-10 22:13:40 -07:00
test_build_image.py releasetools: Fix an issue in image size computation. 2018-07-26 16:59:57 +00:00
test_common.py releasetools: Support verifying AVB signed images with chained partitions. 2018-07-23 15:20:14 -07:00
test_ota_from_target_files.py releasetools: Fix secondary payload generation. 2018-07-12 14:52:52 -07:00
test_rangelib.py Analyze unchanged blocks in odex files. 2016-09-23 12:15:23 -07:00
test_sign_target_files_apks.py releasetools: Skip signing APKs with given prefixes. 2018-06-20 13:49:57 -07:00
test_utils.py releasetools: Handle two edge cases in FinalizeMetadata(). 2018-03-21 06:19:28 +00:00
test_validate_target_files.py Remove the hard-coded path of build_verity_metadata.py. 2018-03-21 21:15:59 +00:00
validate_target_files.py releasetools: Support verifying AVB signed images with chained partitions. 2018-07-23 15:20:14 -07:00