[bitbake-devel,52/94] bitbake: dsi: update build object on command end

Submitted by Alexandru DAMIAN on Sept. 24, 2013, 4:52 p.m.

Details

Message ID da465ea855e97d7b81d7a14f0ff6bfa390d8542b.1380041477.git.alexandru.damian@intel.com
State New
Headers show

Commit Message

Alexandru DAMIAN Sept. 24, 2013, 4:52 p.m.
From: Alexandru DAMIAN <alexandru.damian@intel.com>

We need to make the final update to the build object on
command completion, regardless of the status of the completion,
in order to avoid leaving builds in the "In Progress" state.

Signed-off-by: Alexandru DAMIAN <alexandru.damian@intel.com>
---
 bitbake/lib/bb/ui/dsi.py | 1 +
 1 file changed, 1 insertion(+)

Patch hide | download patch | download mbox

diff --git a/bitbake/lib/bb/ui/dsi.py b/bitbake/lib/bb/ui/dsi.py
index 98d225b..3e0b7ff 100644
--- a/bitbake/lib/bb/ui/dsi.py
+++ b/bitbake/lib/bb/ui/dsi.py
@@ -474,6 +474,7 @@  def main(server, eventHandler, params, tf = TerminalFilter):
                                   bb.command.CommandExit)):
 
                 # we start a new build info
+                buildinfohelper.update_build_information(event, errors, warnings, taskfailures)
                 buildinfohelper = BuildInfoHelper(server, build_history_enabled)
                 buildinfohelper.store_layer_info()
                 continue