From 0e6bbf8181abd68e327e15f07a982a9a126be8db Mon Sep 17 00:00:00 2001 From: Alexandru DAMIAN Date: Thu, 14 Nov 2013 10:53:01 +0000 Subject: bitbake: toasterui: mark failed sceneQueue tasks as failed This patch addresses an issue where a failed sceneQueue task entry was not updated on the Fail event. As a result, it always showed the task as not-available. [YOCTO #5216] (Bitbake rev: 9b99a417f58381bac4bda412bcfd11de50403318) Signed-off-by: Alexandru DAMIAN Signed-off-by: Richard Purdie --- bitbake/lib/bb/ui/buildinfohelper.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'bitbake') diff --git a/bitbake/lib/bb/ui/buildinfohelper.py b/bitbake/lib/bb/ui/buildinfohelper.py index a1a91157bb..6b6c4f3d9e 100644 --- a/bitbake/lib/bb/ui/buildinfohelper.py +++ b/bitbake/lib/bb/ui/buildinfohelper.py @@ -527,7 +527,7 @@ class BuildInfoHelper(object): task_information['disk_io'] = task_build_stats['disk_io'] del self.internal_state[identifier] - if isinstance(event, bb.runqueue.runQueueTaskFailed): + if isinstance(event, (bb.runqueue.runQueueTaskFailed, bb.runCommand.sceneQueueTaskFailed)): task_information['outcome'] = Task.OUTCOME_FAILED del self.internal_state[identifier] -- cgit v1.2.3-54-g00ecf