diff options
author | Aníbal Limón <anibal.limon@linux.intel.com> | 2016-09-13 15:25:42 -0500 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2016-09-15 12:14:40 +0100 |
commit | 059d475b6bce1e5414170a4fe2e7989f6b0eacd6 (patch) | |
tree | 1bfab53876b30fdb6e31115a8395262d520211b7 /meta/classes/sstate.bbclass | |
parent | a378b817504986173c4b0984a28aead247589b3f (diff) | |
download | openembedded-core-059d475b6bce1e5414170a4fe2e7989f6b0eacd6.tar.gz openembedded-core-059d475b6bce1e5414170a4fe2e7989f6b0eacd6.tar.bz2 openembedded-core-059d475b6bce1e5414170a4fe2e7989f6b0eacd6.zip |
oeqa/utils/decorators: LogResults fix race condition in linkfile
In order to avoid race condition when test if exists the linkfile
use bb.utils.lock, the best solution is to create a unique name
for the link file.
There is no way to create a unique linkfile name at this decorator
because is needed the machine and image variables, those variables
can't be passed easily in this code.
To avoid broke test export functionality use a try/except because bb
isn't available when use test export
[YOCTO #10225]
Signed-off-by: Aníbal Limón <anibal.limon@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes/sstate.bbclass')
0 files changed, 0 insertions, 0 deletions