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.

The following changes since commit c8ea873d9883f8cdabb6ccadd31bd9967a0f0111:

  toaster: tweaks to recipe file downloads (2016-04-29 14:21:32 +0100)

are available in the git repository at:

  git://git.yoctoproject.org/poky-contrib 
elliot/toaster/8515-interrupted_cli_builds
  
http://git.yoctoproject.org/cgit.cgi/poky-contrib/log/?h=elliot/toaster/8515-interrupted_cli_builds

Related bug: https://bugzilla.yoctoproject.org/show_bug.cgi?id=8515

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

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

--
1.9.3

---------------------------------------------------------------------
Intel Corporation (UK) Limited
Registered No. 1134945 (England)
Registered Office: Pipers Way, Swindon SN3 1RJ
VAT No: 860 2173 47

This e-mail and any attachments may contain confidential material for
the sole use of the intended recipient(s). Any review or distribution
by others is strictly prohibited. If you are not the intended
recipient, please contact the sender and delete all copies.

-- 
_______________________________________________
toaster mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/toaster

Reply via email to