summaryrefslogtreecommitdiff
path: root/scripts/lib/scriptpath.py
diff options
context:
space:
mode:
authorChen Qi <Qi.Chen@windriver.com>2019-01-24 17:33:01 +0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2019-01-28 16:56:34 +0000
commit6a5cce862f1e950439dc8ee1d84a10397a7fac4f (patch)
tree0e04ab16cc1192a6fae422374f95c84667dc0fc6 /scripts/lib/scriptpath.py
parent5e4d9fd5b13dd0603d9001b478b0c3170dd81004 (diff)
downloadopenembedded-core-6a5cce862f1e950439dc8ee1d84a10397a7fac4f.tar.gz
openembedded-core-6a5cce862f1e950439dc8ee1d84a10397a7fac4f.tar.bz2
openembedded-core-6a5cce862f1e950439dc8ee1d84a10397a7fac4f.zip
eSDK.py: avoid error in tearDownClass due to race condistion
When removing the temporary directory, it's possible that bitbake.lock file is removed by bitbake during the cleanup. And this leads to the following error. FileNotFoundError: [Errno 2] No such file or directory: 'bitbake.lock' So add a check to remove this file before cleaning up the temporary directory. (From OE-Core rev: 984f56b37bd0014e5bf9509fc8ed181973e61773) Signed-off-by: Chen Qi <Qi.Chen@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> Signed-off-by: Armin Kuster <akuster808@gmail.com>
Diffstat (limited to 'scripts/lib/scriptpath.py')
0 files changed, 0 insertions, 0 deletions