Merge "Ignore cleanup errors." am: afe0e76c28 am: 4d083132f9

Original change: https://android-review.googlesource.com/c/platform/build/+/2000465

Change-Id: Ib2b3cd2058a775f8de92d5a0ab6ffedab9926eba
This commit is contained in:
Treehugger Robot
2022-02-26 06:42:40 +00:00
committed by Automerger Merge Worker

View File

@@ -214,7 +214,7 @@ class ApexApkSigner(object):
if os.path.isfile(path):
os.remove(path)
elif os.path.isdir(path):
shutil.rmtree(path)
shutil.rmtree(path, ignore_errors=True)
# TODO(xunchang) the signing process can be improved by using
# '--unsigned_payload_only'. But we need to parse the vbmeta earlier for