diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2025-10-06 14:09:02 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2025-10-07 00:05:40 +0100 |
commit | e256d2be685579ef4c38310eb3f03efcd9d71b2f (patch) | |
tree | 5928520c018dc0b09974ba339c9bef27e0e47dff /scripts/lib/wic/engine.py | |
parent | af7a11edf54481347bf2d0ff1a29ca715d34a031 (diff) | |
download | poky-e256d2be685579ef4c38310eb3f03efcd9d71b2f.tar.gz |
oeqa/selftest: Fix single threaded race issue
oe-selftest sets up separate build directories to run the tests in.
To to this, environment paths pointing at the previous build directory
are updated. In the multi-threaded case this is fine as the thread is
destroyed and the parent remains unchanged but in the single threaded
case, the environment is broken afterwards. This can mean we try and access
a directory which is in the process of being deleted (e.g. by clobberdir).
Restore the environment afterwards regardless to ensure the single threaded
case doesn't try and access the build directory which is now being deleted.
(From OE-Core rev: 80e1f7924b70e0c39622d20e1593e83bdc071294)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'scripts/lib/wic/engine.py')
0 files changed, 0 insertions, 0 deletions