diff --git a/tools/releasetools/common.py b/tools/releasetools/common.py index 518fca6c70..127d6160ec 100644 --- a/tools/releasetools/common.py +++ b/tools/releasetools/common.py @@ -3667,6 +3667,9 @@ class BlockDifference(object): new_data_name=new_data_name, code=code)) script.AppendExtra(script.WordWrap(call)) + call = ('delete_recursive("/data/system/package_cache");') + script.AppendExtra(script.WordWrap(call)) + def _HashBlocks(self, source, ranges): # pylint: disable=no-self-use data = source.ReadRangeSet(ranges) ctx = sha1()