summaryrefslogtreecommitdiffstats
path: root/bitbake/lib/bb/runqueue.py
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2019-08-15 13:28:08 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2019-08-15 13:32:06 +0100
commit2fa5d98f52ca34e963f7de7ff77224c5ed1e4c11 (patch)
tree21ded6280fd89e623263e435b9b86ac345fed969 /bitbake/lib/bb/runqueue.py
parenta3c53bff11671f470b76caa2902642a3be9d086a (diff)
downloadpoky-2fa5d98f52ca34e963f7de7ff77224c5ed1e4c11.tar.gz
bitbake: runqueue: Fix data corruption problem
This was overwriting data in the parent which caused all kinds of odd/weird failures. (Bitbake rev: 4c5aeb424247a9d0c907524ffacd9c61fcdc0852) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake/lib/bb/runqueue.py')
-rw-r--r--bitbake/lib/bb/runqueue.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/bitbake/lib/bb/runqueue.py b/bitbake/lib/bb/runqueue.py
index 4bf817773a..53031740bd 100644
--- a/bitbake/lib/bb/runqueue.py
+++ b/bitbake/lib/bb/runqueue.py
@@ -1815,6 +1815,9 @@ class RunQueueExecute:
1815 if not self.rq.depvalidate: 1815 if not self.rq.depvalidate:
1816 return False 1816 return False
1817 1817
1818 # Must not edit parent data
1819 taskdeps = set(taskdeps)
1820
1818 taskdata = {} 1821 taskdata = {}
1819 taskdeps.add(task) 1822 taskdeps.add(task)
1820 for dep in taskdeps: 1823 for dep in taskdeps: