diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2019-07-11 12:29:50 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2019-07-15 10:28:12 +0100 |
commit | 2d472a3af8f51b16805559065007f01bd3c0cbf0 (patch) | |
tree | 4d872967e61057e2325eadba7fa040601d8e96b9 /bitbake/lib/bb/ui/uihelper.py | |
parent | 7484fb49a4fb2e84729ce11c4c8c0433a8365dc3 (diff) | |
download | poky-2d472a3af8f51b16805559065007f01bd3c0cbf0.tar.gz |
bitbake: uihelper: No longer listen to scenequeue task started
With the merge of the scenequeue with real tasks, this now confuses the
statistics. The real tasks are the definitive progress so monitor only
those.
(Bitbake rev: 20956b508a082224139c8f56b68299edff6e0443)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake/lib/bb/ui/uihelper.py')
-rw-r--r-- | bitbake/lib/bb/ui/uihelper.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bitbake/lib/bb/ui/uihelper.py b/bitbake/lib/bb/ui/uihelper.py index db7f0ca08b..c8dd7df087 100644 --- a/bitbake/lib/bb/ui/uihelper.py +++ b/bitbake/lib/bb/ui/uihelper.py | |||
@@ -40,7 +40,7 @@ class BBUIHelper: | |||
40 | self.running_pids.remove(event.pid) | 40 | self.running_pids.remove(event.pid) |
41 | self.failed_tasks.append( { 'title' : "%s %s" % (event._package, event._task)}) | 41 | self.failed_tasks.append( { 'title' : "%s %s" % (event._package, event._task)}) |
42 | self.needUpdate = True | 42 | self.needUpdate = True |
43 | elif isinstance(event, bb.runqueue.runQueueTaskStarted) or isinstance(event, bb.runqueue.sceneQueueTaskStarted): | 43 | elif isinstance(event, bb.runqueue.runQueueTaskStarted): |
44 | self.tasknumber_current = event.stats.completed + event.stats.active + event.stats.failed + 1 | 44 | self.tasknumber_current = event.stats.completed + event.stats.active + event.stats.failed + 1 |
45 | self.tasknumber_total = event.stats.total | 45 | self.tasknumber_total = event.stats.total |
46 | self.needUpdate = True | 46 | self.needUpdate = True |