[oe-commits] [bitbake] 01/02: runqueue: Fix data corruption problem

git at git.openembedded.org git at git.openembedded.org
Thu Aug 15 12:36:50 UTC 2019


This is an automated email from the git hooks/post-receive script.

rpurdie pushed a commit to branch master
in repository bitbake.

commit 4c5aeb424247a9d0c907524ffacd9c61fcdc0852
Author: Richard Purdie <richard.purdie at linuxfoundation.org>
AuthorDate: Thu Aug 15 13:28:08 2019 +0100

    runqueue: Fix data corruption problem
    
    This was overwriting data in the parent which caused all kinds of
    odd/weird failures.
    
    Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>
---
 lib/bb/runqueue.py | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/lib/bb/runqueue.py b/lib/bb/runqueue.py
index 4bf8177..5303174 100644
--- a/lib/bb/runqueue.py
+++ b/lib/bb/runqueue.py
@@ -1815,6 +1815,9 @@ class RunQueueExecute:
         if not self.rq.depvalidate:
             return False
 
+        # Must not edit parent data
+        taskdeps = set(taskdeps)
+
         taskdata = {}
         taskdeps.add(task)
         for dep in taskdeps:

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Openembedded-commits mailing list