diff options
author | Caner Altinbasak <cal@brightsign.biz> | 2021-10-13 13:14:41 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2021-10-14 22:37:43 +0100 |
commit | 8e6aaed8ffc9ff823056ad38ccc57c56f0afea26 (patch) | |
tree | e0ed3a88b343b493d37f87367fa6828de1bf1cae /bitbake/lib/codegen.py | |
parent | 4c33a6e52be775265c871aa2d3b87ed23a0d48da (diff) | |
download | poky-8e6aaed8ffc9ff823056ad38ccc57c56f0afea26.tar.gz |
bitbake: npmsw: Avoid race condition with multiple npm fetchers
If multiple npmsw fetchers are trying to download the same npm file, one of them
can try to download the file while other is calling verify. npmsw methods gets
called without holding the lock, which causes race conditions in fetching and
verification etc. Lock the lockfile before calling proxy fetcher methods.
(Bitbake rev: fa39e6689d0f0fff772e1c81682698f4b1587b8a)
Signed-off-by: Caner Altinbasak <cal@brightsign.biz>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake/lib/codegen.py')
0 files changed, 0 insertions, 0 deletions