diff options
Diffstat (limited to 'bitbake/lib/bb/runqueue.py')
-rw-r--r-- | bitbake/lib/bb/runqueue.py | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/bitbake/lib/bb/runqueue.py b/bitbake/lib/bb/runqueue.py index f68a11d90d..baaac445bd 100644 --- a/bitbake/lib/bb/runqueue.py +++ b/bitbake/lib/bb/runqueue.py | |||
@@ -1985,6 +1985,10 @@ class RunQueueExecuteScenequeue(RunQueueExecute): | |||
1985 | logger.debug(1, 'We can skip tasks %s', sorted(self.rq.scenequeue_covered)) | 1985 | logger.debug(1, 'We can skip tasks %s', sorted(self.rq.scenequeue_covered)) |
1986 | 1986 | ||
1987 | self.rq.state = runQueueRunInit | 1987 | self.rq.state = runQueueRunInit |
1988 | |||
1989 | completeevent = sceneQueueComplete(self.stats, self.rq) | ||
1990 | bb.event.fire(completeevent, self.cfgData) | ||
1991 | |||
1988 | return True | 1992 | return True |
1989 | 1993 | ||
1990 | def runqueue_process_waitpid(self, task, status): | 1994 | def runqueue_process_waitpid(self, task, status): |
@@ -2067,6 +2071,14 @@ class sceneQueueTaskFailed(sceneQueueEvent): | |||
2067 | sceneQueueEvent.__init__(self, task, stats, rq) | 2071 | sceneQueueEvent.__init__(self, task, stats, rq) |
2068 | self.exitcode = exitcode | 2072 | self.exitcode = exitcode |
2069 | 2073 | ||
2074 | class sceneQueueComplete(sceneQueueEvent): | ||
2075 | """ | ||
2076 | Event when all the sceneQueue tasks are complete | ||
2077 | """ | ||
2078 | def __init__(self, stats, rq): | ||
2079 | self.stats = stats.copy() | ||
2080 | bb.event.Event.__init__(self) | ||
2081 | |||
2070 | class runQueueTaskCompleted(runQueueEvent): | 2082 | class runQueueTaskCompleted(runQueueEvent): |
2071 | """ | 2083 | """ |
2072 | Event notifing a task completed | 2084 | Event notifing a task completed |