diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2019-12-14 12:54:22 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2019-12-16 23:27:14 +0000 |
commit | 73896a7a0e0b7fa1c6ee8a72940aefdba641ea5e (patch) | |
tree | 91716a2c5c7387e53dd8a09095ad777e54633cef /bitbake/lib/bb/runqueue.py | |
parent | eb9809741c4ad33457eea29a90bdb16d4f4995c3 (diff) | |
download | poky-73896a7a0e0b7fa1c6ee8a72940aefdba641ea5e.tar.gz |
bitbake: 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.
(Bitbake rev: 608b9f821539de813bfbd9e65950dbc56a274bc2)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake/lib/bb/runqueue.py')
-rw-r--r-- | bitbake/lib/bb/runqueue.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bitbake/lib/bb/runqueue.py b/bitbake/lib/bb/runqueue.py index a45b27ce51..b3648ddb54 100644 --- a/bitbake/lib/bb/runqueue.py +++ b/bitbake/lib/bb/runqueue.py | |||
@@ -2286,7 +2286,7 @@ class RunQueueExecute: | |||
2286 | current = next.copy() | 2286 | current = next.copy() |
2287 | next = set() | 2287 | next = set() |
2288 | for tid in current: | 2288 | for tid in current: |
2289 | if not self.rqdata.runtaskentries[tid].depends.isdisjoint(total): | 2289 | if len(self.rqdata.runtaskentries[p].depends) and not self.rqdata.runtaskentries[tid].depends.isdisjoint(total): |
2290 | continue | 2290 | continue |
2291 | procdep = [] | 2291 | procdep = [] |
2292 | for dep in self.rqdata.runtaskentries[tid].depends: | 2292 | for dep in self.rqdata.runtaskentries[tid].depends: |