diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2019-12-14 12:54:22 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2020-01-11 11:06:22 +0000 |
commit | 8de879583e30ee66051e1bbe989a0af6830795d6 (patch) | |
tree | fc0ed3d96eea63f6ca9dd5a1f6b3fe2a10eff789 /bitbake/lib | |
parent | 57efd2721bb372ca9e07018fbd5166b40ebce83e (diff) | |
download | poky-8de879583e30ee66051e1bbe989a0af6830795d6.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: 480939538f5887a70d11c2f7cf74446100e25fab)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 608b9f821539de813bfbd9e65950dbc56a274bc2)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake/lib')
-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: |