diff options
author | 2013-11-14 10:53:01 +0000 | |
---|---|---|
committer | 2013-11-15 12:17:19 +0000 | |
commit | 0e6bbf8181abd68e327e15f07a982a9a126be8db (patch) | |
tree | fec820e3971bd565be3ceb3dba575537e47fdcdf | |
parent | 3b113312fd0684e7433a288f97005ff5d0724c51 (diff) | |
download | poky-0e6bbf8181abd68e327e15f07a982a9a126be8db.tar.gz poky-0e6bbf8181abd68e327e15f07a982a9a126be8db.tar.bz2 poky-0e6bbf8181abd68e327e15f07a982a9a126be8db.zip |
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 <alexandru.damian@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r-- | bitbake/lib/bb/ui/buildinfohelper.py | 2 |
1 files changed, 1 insertions, 1 deletions
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] |