From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by yocto-www.yoctoproject.org (Postfix, from userid 118) id EB3BAE00E54; Fri, 6 May 2016 04:54:09 -0700 (PDT) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on yocto-www.yoctoproject.org X-Spam-Level: X-Spam-Status: No, score=-6.9 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 X-Spam-HAM-Report: * -5.0 RCVD_IN_DNSWL_HI RBL: Sender listed at http://www.dnswl.org/, high * trust * [134.134.136.65 listed in list.dnswl.org] * -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% * [score: 0.0000] Received: from mga03.intel.com (mga03.intel.com [134.134.136.65]) by yocto-www.yoctoproject.org (Postfix) with ESMTP id 65602E00C55 for ; Fri, 6 May 2016 04:54:07 -0700 (PDT) Received: from fmsmga004.fm.intel.com ([10.253.24.48]) by orsmga103.jf.intel.com with ESMTP; 06 May 2016 04:54:06 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.24,587,1455004800"; d="scan'208";a="98366211" Received: from pnelson-mobl2.amr.corp.intel.com (HELO lp.ger.corp.intel.com) ([10.252.28.213]) by fmsmga004.fm.intel.com with ESMTP; 06 May 2016 04:54:06 -0700 From: Elliot Smith To: toaster@yoctoproject.org Date: Fri, 6 May 2016 12:53:53 +0100 Message-Id: X-Mailer: git-send-email 1.9.3 Subject: [PATCH 0/3] [v3] Cancel builds when cli is interrupted X-BeenThere: toaster@yoctoproject.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: Web based interface for BitBake List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 06 May 2016 11:54:10 -0000 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.