[oe-commits] [bitbake] 07/10: runqueue: Streamline outright setscene failure handling
git at git.openembedded.org
git at git.openembedded.org
Thu Jul 11 16:13:10 UTC 2019
This is an automated email from the git hooks/post-receive script.
rpurdie pushed a commit to branch master-next
in repository bitbake.
commit 0df4967874c12a2255d2888d1ec0c4f22b834fb8
Author: Richard Purdie <richard.purdie at linuxfoundation.org>
AuthorDate: Thu Jul 11 17:05:19 2019 +0100
runqueue: Streamline outright setscene failure handling
With the recent codebase changes we can just call the outrightfail
function immediately, removing some intermediate data structures.
Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>
---
lib/bb/runqueue.py | 7 +------
1 file changed, 1 insertion(+), 6 deletions(-)
diff --git a/lib/bb/runqueue.py b/lib/bb/runqueue.py
index 48b668a..2d52ef3 100644
--- a/lib/bb/runqueue.py
+++ b/lib/bb/runqueue.py
@@ -1913,9 +1913,6 @@ class RunQueueExecute:
self.sq_task_skip(nexttask)
self.scenequeue_notneeded.add(nexttask)
return True
- if nexttask in self.sqdata.outrightfail:
- self.sq_task_failoutright(nexttask)
- return True
task = nexttask
break
if task is not None:
@@ -2330,8 +2327,6 @@ class SQData(object):
self.stamps = {}
# Setscene tasks directly depended upon by the build
self.unskippable = set()
- # List of setscene tasks which aren't present
- self.outrightfail = []
# A list of normal tasks a setscene task covers
self.sq_covered_tasks = {}
@@ -2553,7 +2548,7 @@ def build_scenequeue_data(sqdata, rqdata, rq, cooker, stampcache, sqrq):
for tid in sqdata.sq_revdeps:
if tid not in valid_new and tid not in noexec:
logger.debug(2, 'No package found, so skipping setscene task %s', tid)
- sqdata.outrightfail.append(tid)
+ sqrq.sq_task_failoutright(tid)
class TaskFailure(Exception):
"""
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
More information about the Openembedded-commits
mailing list