diff options
author | Jose Quaresma <quaresma.jose@gmail.com> | 2022-03-06 21:08:23 +0000 |
---|---|---|
committer | Anuj Mittal <anuj.mittal@intel.com> | 2022-03-11 10:45:22 +0800 |
commit | b6893ed80df90b0e9468f291205f38cc76960e08 (patch) | |
tree | 2a4a6652890b82e48dab626199a57bca5b32a10e /meta | |
parent | c2ebef2113d05aefb98b41caf380e03ec368934c (diff) | |
download | openembedded-core-contrib-b6893ed80df90b0e9468f291205f38cc76960e08.tar.gz |
sstate: inside the threadedpool don't write to the shared localdata
When inside the threadedpool we make a copy of the localdata
to avoid some race condition, so we need to use this new
localdata2 and stop write the shared localdata.
Signed-off-by: Jose Quaresma <quaresma.jose@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 1fa763b2022822a76fde541724e83e1977833d03)
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Diffstat (limited to 'meta')
-rw-r--r-- | meta/classes/sstate.bbclass | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/classes/sstate.bbclass b/meta/classes/sstate.bbclass index 103de01264..d3816ec7b0 100644 --- a/meta/classes/sstate.bbclass +++ b/meta/classes/sstate.bbclass @@ -977,7 +977,7 @@ def sstate_checkhashes(sq_data, d, siginfo=False, currentcount=0, summary=True, localdata2 = bb.data.createCopy(localdata) srcuri = "file://" + sstatefile - localdata.setVar('SRC_URI', srcuri) + localdata2.setVar('SRC_URI', srcuri) bb.debug(2, "SState: Attempting to fetch %s" % srcuri) try: |