diff options
| author | 2015-09-02 10:28:08 -0700 | |
|---|---|---|
| committer | 2015-09-02 17:51:16 -0700 | |
| commit | 84006eacd05e3f2784a0ecdf36609767f2c34044 (patch) | |
| tree | f38cb7aedf180be030467e97a2f60fbe70acaa99 /tools/makeparallel/makeparallel.cpp | |
| parent | e4c753f428ff404f10ec1bf170ea18ed2687dc07 (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