summaryrefslogtreecommitdiffstats
path: root/meta/lib/oeqa/runtime
diff options
context:
space:
mode:
authorLuis <luis.pinto.martins@gmail.com>2022-12-24 01:49:46 +0000
committerSteve Sakoman <steve@sakoman.com>2023-01-09 06:30:45 -1000
commit75b7e86c9d9931c9e4e114af026b51710f1920a2 (patch)
treeda1d907b6d411020cdb27720ca77aad08b56aec3 /meta/lib/oeqa/runtime
parentf2f70bf8d93b33b65875828c0402a98e943f660a (diff)
downloadopenembedded-core-contrib-75b7e86c9d9931c9e4e114af026b51710f1920a2.tar.gz
rm_work.bbclass: use HOSTTOOLS 'rm' binary exclusively
The do_rm_work() task is using the first available 'rm' binary available in PATH to remove files and folders. However, depending on the PATH setup and RECIPE_SYSROOT_NATIVE contents, the function can be using the 'rm' binary available in RECIPE_SYSROOT_NATIVE, a folder that will get removed. This causes a sporadic race-condition when trying to access the 'rm' binary of a folder already deleted. Solve this by exclusively using the HOSTTOOLS 'rm' binary, as this folder will not get removed. Signed-off-by: Luis Martins <luis.pinto.martins@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit edcd9ad333bc4e504594e8af83e8cb7007d2e35c) Signed-off-by: Steve Sakoman <steve@sakoman.com>
Diffstat (limited to 'meta/lib/oeqa/runtime')
0 files changed, 0 insertions, 0 deletions