diff options
author | Luis <luis.pinto.martins@gmail.com> | 2022-12-24 01:49:46 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2023-01-13 18:11:19 +0000 |
commit | dc9ccb5071a1ae0c9a74d30263e0e8f5e6186d8b (patch) | |
tree | 739a97e17e2c1b5e4fb40702974a17006a910f4a /meta/lib | |
parent | dbe88ee83ef349bfff053bf9b824b86f7a373776 (diff) | |
download | poky-dc9ccb5071a1ae0c9a74d30263e0e8f5e6186d8b.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.
(From OE-Core rev: 75b7e86c9d9931c9e4e114af026b51710f1920a2)
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>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/lib')
0 files changed, 0 insertions, 0 deletions