[Toaster] [PATCH 0/2][v2] Cancel builds when cli is interrupted
Elliot Smith
elliot.smith at intel.com
Fri Apr 29 06:10:02 PDT 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.
The following changes since commit d18d6665df5a50364d54a1524dcba34958c871a2
(poky-contrib/toaster-next):
toaster: customrecipe Only show download icon or button if it's possible (2016-04-26 17:14:46 +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 (2):
buildinfohelper: add method to set current build as CANCELLED
toasterui: capture keyboard interrupts the same way as knotty
bitbake/lib/bb/ui/buildinfohelper.py | 10 ++++++++++
bitbake/lib/bb/ui/toasterui.py | 17 ++++++++++++++++-
2 files changed, 26 insertions(+), 1 deletion(-)
--
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.
More information about the toaster
mailing list