On 29/04/2016 14:10, "[email protected] on behalf of Elliot
Smith" <[email protected] on behalf of
[email protected]> wrote:

>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/85
>15-interrupted_cli_builds

This works beautifully. The only problem is that the cancelled build shows
a 'rebuild' button. When you click it, nothing happens. Since this build
is part of the "Command line builds" project, no 'rebuild' button should
show.

Thanks!

Belén

>
>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.
>
>-- 
>_______________________________________________
>toaster mailing list
>[email protected]
>https://lists.yoctoproject.org/listinfo/toaster

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

Reply via email to