diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2019-12-14 12:54:22 +0000 |
---|---|---|
committer | Armin Kuster <akuster808@gmail.com> | 2019-12-17 22:14:47 -0800 |
commit | 480939538f5887a70d11c2f7cf74446100e25fab (patch) | |
tree | 5d1a04d3bd59f15919b7a41061da21aa38936108 /lib | |
parent | c9ab598f6f1ea3ae3a0713dc6692b4c4bafbfb50 (diff) | |
download | bitbake-contrib-480939538f5887a70d11c2f7cf74446100e25fab.tar.gz |
runqueue: Fix task mismatch failures from incorrect logic
The "no dependencies" task case was not being correctly considered in this
code and seemed to be the cause of occasionaly task hash mismatch errors
that were being seen as the dependencies were never accounted for properly.
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 608b9f821539de813bfbd9e65950dbc56a274bc2)
Diffstat (limited to 'lib')
-rw-r--r-- | lib/bb/runqueue.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/bb/runqueue.py b/lib/bb/runqueue.py index a45b27ce5..b3648ddb5 100644 --- a/lib/bb/runqueue.py +++ b/lib/bb/runqueue.py @@ -2286,7 +2286,7 @@ class RunQueueExecute: current = next.copy() next = set() for tid in current: - if not self.rqdata.runtaskentries[tid].depends.isdisjoint(total): + if len(self.rqdata.runtaskentries[p].depends) and not self.rqdata.runtaskentries[tid].depends.isdisjoint(total): continue procdep = [] for dep in self.rqdata.runtaskentries[tid].depends: |