platform_build/tools/releasetools
Tao Bao 84006eacd0 releasetools: Fix the bug in symlink deletion.
For file-based OTAs, symlinks in the source build but not in the target
build will be deleted. However, if a symlink is replaced by a regular
file in the target build, the file will be accidentally deleted when
applying (resuming) the same package again.

Verify the checksum of a symlink that will be unpacked or renamed to.
Delete the file only if it doesn't have the target checksum.

Bug: 23646151
Change-Id: Ie322abb6022b6fa812c6b36a3127872d9614fc3b
2015-09-02 17:51:16 -07:00
..
add_img_to_target_files store images in target-files 2014-07-31 11:06:30 -07:00
add_img_to_target_files.py Override properties that point to out/ directory. 2015-07-19 08:48:09 -07:00
blockimgdiff.py Split large files for BBOTA v3. 2015-08-26 10:50:11 -07:00
build_image.py Merge "Add compressor options for squashfs system images" 2015-07-29 21:35:57 +00:00
check_target_files_signatures Make releasetools pylint clean. 2015-03-24 11:05:16 -07:00
check_target_files_signatures.py Make releasetools pylint clean. 2015-03-24 11:05:16 -07:00
common.py Use the basename of file_contexts from the info dict. 2015-08-28 11:17:38 -07:00
edify_generator.py releasetools: Fix the bug in symlink deletion. 2015-09-02 17:51:16 -07:00
img_from_target_files Allow to build the update.zip for emulator build. 2014-06-04 17:04:14 +00:00
img_from_target_files.py releasetools: Support packaging for system_root_image. 2015-08-05 16:28:55 -07:00
make_recovery_patch Make releasetools pylint clean. 2015-03-24 11:05:16 -07:00
make_recovery_patch.py Make releasetools pylint clean. 2015-03-24 11:05:16 -07:00
ota_from_target_files Make releasetools pylint clean. 2015-03-24 11:05:16 -07:00
ota_from_target_files.py releasetools: Fix the bug in symlink deletion. 2015-09-02 17:51:16 -07:00
pylintrc Make releasetools pylint clean. 2015-03-24 11:05:16 -07:00
rangelib.py rangelib.py: Fix the bug in monotonic check. 2015-08-26 21:16:43 -07:00
sign_target_files_apks Make releasetools pylint clean. 2015-03-24 11:05:16 -07:00
sign_target_files_apks.py releasetools: Support packaging for system_root_image. 2015-08-05 16:28:55 -07:00
sparse_img.py Zero out blocks that may be touched by dm-verity. 2015-07-10 13:50:24 -07:00
test_common.py Fix the permission setting in common.ZipWriteStr() 2015-05-20 12:18:55 -07:00
test_rangelib.py rangelib.py: Fix the bug in monotonic check. 2015-08-26 21:16:43 -07:00