build: Erase package_cache upon flashing
To avoid the resources bug when dirty flashing Signed-off-by: saikiran2001 <bjsaikiran@gmail.com>
This commit is contained in:
@@ -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()
|
||||
|
Reference in New Issue
Block a user