In cases where --output-dir is set to a directory on a
NFS share shutil fails to remove the application_dir.
This WO will silence errors from rmtree routine.
Change-Id: I0c5d06982f0ba2eb5b15276890b474afc46894e0
Issue-ID: OOM-2577
Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
create_package(aux_content, aux_package_tar_path)
add_checksum_info(output_dir)
create_package(aux_content, aux_package_tar_path)
add_checksum_info(output_dir)
- shutil.rmtree(application_dir)
+ shutil.rmtree(application_dir, ignore_errors=True)