Merge "build-image: Fixed debootstrap tar cache issue"

This commit is contained in:
Zuul 2023-07-27 14:55:46 +00:00 committed by Gerrit Code Review
commit b70f3b1410

View File

@ -602,9 +602,9 @@ if __name__ == "__main__":
logger.error("Failed to add packages into image YAML config")
sys.exit(ret)
os.system('sudo rm -rf ' + LAT_ROOT + '/workdir')
os.system('sudo rm -rf ' + LAT_ROOT + '/sub_workdir')
if not args.keep:
os.system('sudo rm -rf ' + LAT_ROOT + '/workdir')
os.system('sudo rm -rf ' + LAT_ROOT + '/sub_workdir')
os.system('sudo rm -rf ' + LAT_ROOT + '/deploy')
# Prepare the boot cert