diff options
author | Tao Bao <tbao@google.com> | 2015-09-02 10:28:08 -0700 |
---|---|---|
committer | The Android Automerger <android-build@google.com> | 2015-09-03 10:44:04 -0700 |
commit | 7a61dd9f2f31ff4c2beaf15bb71c0f5b012db0c0 (patch) | |
tree | 6d6031844f3c83c10a09094c3799abefb7873e17 /tools/java-event-log-tags.py | |
parent | b8e67f12fcbac5529b820b837307be802a3a7af5 (diff) | |
download | build-7a61dd9f2f31ff4c2beaf15bb71c0f5b012db0c0.zip build-7a61dd9f2f31ff4c2beaf15bb71c0f5b012db0c0.tar.gz build-7a61dd9f2f31ff4c2beaf15bb71c0f5b012db0c0.tar.bz2 |
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: I77bae035e39f2e0be25f7f6d71c5882464e3d50f
(cherry picked from commit 84006eacd05e3f2784a0ecdf36609767f2c34044)
Diffstat (limited to 'tools/java-event-log-tags.py')
0 files changed, 0 insertions, 0 deletions