mirror of
https://git.yoctoproject.org/poky
synced 2026-04-26 18:32:13 +02:00
bitbake: runqueue: Fix corruption issue
We need to copy this set, not modify the original else all kinds of weird and bad things break, mostly from circular references. We'll not go into how much sleep I lost tracking down the fallout from this. (Bitbake rev: 49927546d2b306830c98f6f9da4a6ad828f6a3a6) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
@@ -2124,7 +2124,7 @@ class RunQueueExecute:
|
||||
# as most code can't handle them
|
||||
def build_taskdepdata(self, task):
|
||||
taskdepdata = {}
|
||||
next = self.rqdata.runtaskentries[task].depends
|
||||
next = self.rqdata.runtaskentries[task].depends.copy()
|
||||
next.add(task)
|
||||
next = self.filtermcdeps(task, next)
|
||||
while next:
|
||||
|
||||
Reference in New Issue
Block a user