From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by yocto-www.yoctoproject.org (Postfix, from userid 118) id D191DE00BFD; Fri, 18 Dec 2015 04:24:16 -0800 (PST) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on yocto-www.yoctoproject.org X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,RCVD_IN_DNSWL_LOW autolearn=ham version=3.3.1 X-Spam-HAM-Report: * -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% * [score: 0.0000] * 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily * valid * -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature * -0.7 RCVD_IN_DNSWL_LOW RBL: Sender listed at http://www.dnswl.org/, low * trust * [74.125.82.45 listed in list.dnswl.org] Received: from mail-wm0-f45.google.com (mail-wm0-f45.google.com [74.125.82.45]) by yocto-www.yoctoproject.org (Postfix) with ESMTP id 98FAFE005A2 for ; Fri, 18 Dec 2015 04:24:15 -0800 (PST) Received: by mail-wm0-f45.google.com with SMTP id p187so62756795wmp.0 for ; Fri, 18 Dec 2015 04:24:14 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=intel-com.20150623.gappssmtp.com; s=20150623; h=subject:to:references:from:message-id:date:user-agent:mime-version :in-reply-to:content-type:content-transfer-encoding; bh=3KVCJX3T34CsszE0eBEnNDU2VulLtbHv/hqQJB1nLoE=; b=2CuWoPhqhzEwJOkGg9NOUHqiwvwHi5GAUlx59lWt+IBexlp2wKr4P1h4XC0gN8f2am rLfPapH3q1jEn9hUbhZ/GrSn7SRo71P7hdKimn2yd9BPFwnyEmvi1GWnkPKu9Ua7rbxk l5s+C5lK9PaHuicyKIiG3x5B0HP5/mLBAZ5Cv64Y95fl58gMi2S6aLi+6z8eGzeGgtB4 bjKEFYocGRazSjY51EHbB754TJ4n7CFIHJKAukTrbFySQ/zok6Cr+0LxN/cJ5Rt5wGva HB2dxDLW0r322Vo/s9P5Eg1qMFuVpMttBBFOVyuGrg5QpUUFI1bJZtQl6Xbr3cRGnZT0 BUoA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:subject:to:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-type :content-transfer-encoding; bh=3KVCJX3T34CsszE0eBEnNDU2VulLtbHv/hqQJB1nLoE=; b=hQMx0jI8W/T0rf78Z+AwLCO68SDRxHj5615K9ClEo16Xpfqy8NLNzTTw2AD3y0FlkX 8hjVyF4NqsHPYngPqq1B7neMupFYw0yekf6yeDoOR/qhO/vsD3Jc9Jsd1IrHgZNmWd7H qZpcNNKQRvLq0AJ8kF+MLkvy8iRqEhLYUzEw+JRfOqLADzv++TofC2iZOkMAvYY92yYY +nUhjUt8FYgT+pW0nptEOWnmEBbpetHrWuEQAGvWVrOsO3RqtU2l2esoZENW6xooSSPF zy5mYkMKi5w28A4Vy4Lb4IXGCsmUk+OTHS5Bv+6JGkiP76hfgp99RphtYMPAzPuCAP40 5vKw== X-Gm-Message-State: ALoCoQmm4H0pdhBt9KynHrGxnW+TRbqEmK8K8zYcGjcwTUugwACWv7pz13BSgFMcMVu4P2uJO6inlJUAPxuG1XymvmARTwT8Eg== X-Received: by 10.194.188.11 with SMTP id fw11mr4259696wjc.146.1450441454042; Fri, 18 Dec 2015 04:24:14 -0800 (PST) Received: from [192.168.0.22] ([90.217.53.67]) by smtp.googlemail.com with ESMTPSA id bg10sm14559990wjb.46.2015.12.18.04.24.13 for (version=TLSv1/SSLv3 cipher=OTHER); Fri, 18 Dec 2015 04:24:13 -0800 (PST) To: toaster@yoctoproject.org References: From: Michael Wood Message-ID: <5673FAEC.8080107@intel.com> Date: Fri, 18 Dec 2015 12:24:12 +0000 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.3.0 MIME-Version: 1.0 In-Reply-To: Subject: Re: Build cancellation from toaster 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, 18 Dec 2015 12:24:16 -0000 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Thanks Sujith I wonder if there is a way to simplify this by using the getBuildEnvironmentController method from bldcontrol.bbcontroller? and in views.py doing buildctrl = getBuildEnvironmentController... buildctrl._runCommand(["stateForceShutdown"]) (or add a convenience function to bbcontroller.py after the triggerEvent one) Michael On 17/12/15 16:56, sujith h wrote: > Hi, > > I have posted my changes in: > http://git.yoctoproject.org/cgit/cgit.cgi/poky-contrib/log/?h=sujith/toaster-build-cancel > > Kindly review my changes and let me know if I have to make changes. I > would be happy to do so. > > Thanks for all helping hand from RP, Ed, Michael, Belen and Paul. > > Thanks, > Sujith H > > -- > സുജിത് ഹരിദാസന് > Bangalore > Contributor to KDE project > http://fci.wikia.com/wiki/Anti-DRM-Campaign > http://sujithh.info > >