commit | 9ac4cb098460b1dd6bb77895d94351b5478b13e8 | [log] [tgz] |
---|---|---|
author | Tianjie Xu <xunchang@google.com> | Fri Jun 09 16:58:03 2017 -0700 |
committer | Tianjie Xu <xunchang@google.com> | Tue Jun 13 11:20:29 2017 -0700 |
tree | 7dd8cdff44087ff6e404c5fbf9564108244556eb | |
parent | d6e800273481febf1124b4a3702cb0b5a61dbf1e [diff] |
Fix duplicate 'META/care_map.txt' when calling add_img_to_target_files In case the system/vendor image is updated for an A/B target file, we'll delay the write of META/care_map.txt. Specifically, we'll run "zip -d" to remove the old entry and then zip in the new one from tmp dir. Bug: 62345693 Test: Run add_img_to_target_files.py on sailfish target files, and care_map.txt is updated. Change-Id: Id2f9997aac50c0740e6944d0d0d43d98f5fc6c29