summaryrefslogtreecommitdiffstats
path: root/meta/recipes-extended
diff options
context:
space:
mode:
authorLeonardo Sandoval <leonardo.sandoval.gonzalez@linux.intel.com>2017-09-07 15:52:54 -0500
committerRichard Purdie <richard.purdie@linuxfoundation.org>2017-09-12 23:51:36 +0100
commit7e3a7cd2426feac757def81850dc44156cd0f33e (patch)
treeb97c944018fa8f312206725cf09b0dd20cf20b7a /meta/recipes-extended
parentccccf975c75055639c0ed5052ac0ad53ebbf53ca (diff)
downloadopenembedded-core-contrib-7e3a7cd2426feac757def81850dc44156cd0f33e.tar.gz
selftest/cases/signing: ignore removal errors when cleaning temporary gpg directory
The high-level method tempfile.TemporaryDirectory give us no way to ignore erros on removal thus use tempfile.mkdtemp instead. Ignoring possible issues on removal is neccesary because it contains gpg sockets that are automatically removed by the system once the process terminates, otherwise the following log is observed: .. .. File "/usr/lib/python3.5/shutil.py", line 436, in _rmtree_safe_fd os.unlink(name, dir_fd=topfd) FileNotFoundError: [Errno 2] No such file or directory: 'S.gpg-agent.browser' [YOCTO #11821] Signed-off-by: Leonardo Sandoval <leonardo.sandoval.gonzalez@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-extended')
0 files changed, 0 insertions, 0 deletions