summaryrefslogtreecommitdiff
path: root/tools/makeparallel/makeparallel.cpp
diff options
context:
space:
mode:
author Tao Bao <tbao@google.com> 2015-09-02 10:28:08 -0700
committer Tao Bao <tbao@google.com> 2015-09-02 17:51:16 -0700
commit84006eacd05e3f2784a0ecdf36609767f2c34044 (patch)
treef38cb7aedf180be030467e97a2f60fbe70acaa99 /tools/makeparallel/makeparallel.cpp
parente4c753f428ff404f10ec1bf170ea18ed2687dc07 (diff)
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
Diffstat (limited to 'tools/makeparallel/makeparallel.cpp')
0 files changed, 0 insertions, 0 deletions