diff options
Diffstat (limited to 'bitbake')
-rw-r--r-- | bitbake/lib/bb/runqueue.py | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/bitbake/lib/bb/runqueue.py b/bitbake/lib/bb/runqueue.py index 44f270be52..f840ad2154 100644 --- a/bitbake/lib/bb/runqueue.py +++ b/bitbake/lib/bb/runqueue.py | |||
@@ -1401,7 +1401,7 @@ class RunQueueExecuteTasks(RunQueueExecute): | |||
1401 | self.runq_buildable.append(1) | 1401 | self.runq_buildable.append(1) |
1402 | else: | 1402 | else: |
1403 | self.runq_buildable.append(0) | 1403 | self.runq_buildable.append(0) |
1404 | if len(self.rqdata.runq_revdeps[task]) > 0 and self.rqdata.runq_revdeps[task].issubset(self.rq.scenequeue_covered) and task not in self.rq.scenequeue_notcovered: | 1404 | if len(self.rqdata.runq_revdeps[task]) > 0 and self.rqdata.runq_revdeps[task].issubset(self.rq.scenequeue_covered): |
1405 | self.rq.scenequeue_covered.add(task) | 1405 | self.rq.scenequeue_covered.add(task) |
1406 | 1406 | ||
1407 | found = True | 1407 | found = True |
@@ -1412,7 +1412,7 @@ class RunQueueExecuteTasks(RunQueueExecute): | |||
1412 | continue | 1412 | continue |
1413 | logger.debug(1, 'Considering %s (%s): %s' % (task, self.rqdata.get_user_idstring(task), str(self.rqdata.runq_revdeps[task]))) | 1413 | logger.debug(1, 'Considering %s (%s): %s' % (task, self.rqdata.get_user_idstring(task), str(self.rqdata.runq_revdeps[task]))) |
1414 | 1414 | ||
1415 | if len(self.rqdata.runq_revdeps[task]) > 0 and self.rqdata.runq_revdeps[task].issubset(self.rq.scenequeue_covered) and task not in self.rq.scenequeue_notcovered: | 1415 | if len(self.rqdata.runq_revdeps[task]) > 0 and self.rqdata.runq_revdeps[task].issubset(self.rq.scenequeue_covered): |
1416 | found = True | 1416 | found = True |
1417 | self.rq.scenequeue_covered.add(task) | 1417 | self.rq.scenequeue_covered.add(task) |
1418 | 1418 | ||
@@ -2028,9 +2028,6 @@ class RunQueueExecuteScenequeue(RunQueueExecute): | |||
2028 | self.rq.scenequeue_covered = set() | 2028 | self.rq.scenequeue_covered = set() |
2029 | for task in oldcovered: | 2029 | for task in oldcovered: |
2030 | self.rq.scenequeue_covered.add(self.rqdata.runq_setscene[task]) | 2030 | self.rq.scenequeue_covered.add(self.rqdata.runq_setscene[task]) |
2031 | self.rq.scenequeue_notcovered = set() | ||
2032 | for task in self.scenequeue_notcovered: | ||
2033 | self.rq.scenequeue_notcovered.add(self.rqdata.runq_setscene[task]) | ||
2034 | 2031 | ||
2035 | logger.debug(1, 'We can skip tasks %s', sorted(self.rq.scenequeue_covered)) | 2032 | logger.debug(1, 'We can skip tasks %s', sorted(self.rq.scenequeue_covered)) |
2036 | 2033 | ||