[bitbake-devel] [PATCH 0/3] Cancel toaster builds when cli is interrupted

Michael Wood michael.g.wood at intel.com
Thu May 12 14:10:35 UTC 2016


If a bitbake build is running on the command line and is interrupted (e.g. by
Ctrl-c), capture the interrupt and shut down the bitbake server. Also set
the outcome to CANCELLED so the build displays correctly in the Toaster UI.

Elliot Smith (3):
  buildinfohelper: add method to set current build as CANCELLED
  toasterui: capture keyboard interrupts the same way as knotty
  toaster: don't show "Rebuild" button for cancelled cli builds

 lib/bb/ui/buildinfohelper.py                      | 10 +++++++++
 lib/bb/ui/toasterui.py                            | 17 ++++++++++++++-
 lib/toaster/toastergui/templates/mrb_section.html | 25 +++++++++++++----------
 3 files changed, 40 insertions(+), 12 deletions(-)

-- 
2.7.4




More information about the bitbake-devel mailing list