Return-Path: Received: by yocto-www.yoctoproject.org (Postfix, from userid 118) id 24DF2E00BAA; Wed, 20 Jan 2016 05:56:46 -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=-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 F0FD3E00B9C for ; Wed, 20 Jan 2016 05:56:40 -0800 (PST) Received: from orsmga002.jf.intel.com ([10.7.209.21]) by orsmga103.jf.intel.com with ESMTP; 20 Jan 2016 05:56:41 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.22,321,1449561600"; d="scan'208";a="894628719" Received: from irsmsx108.ger.corp.intel.com ([163.33.3.3]) by orsmga002.jf.intel.com with ESMTP; 20 Jan 2016 05:56:40 -0800 Received: from irsmsx110.ger.corp.intel.com ([169.254.15.22]) by IRSMSX108.ger.corp.intel.com ([169.254.11.160]) with mapi id 14.03.0248.002; Wed, 20 Jan 2016 13:56:38 +0000 From: "Barros Pena, Belen" To: Ed Bartosh , "toaster@yoctoproject.org" Thread-Topic: [Toaster] [review-request][PATCH] toaster: run bitbake server with --read option Thread-Index: AQHRU4ph0TMoe1jFZ0an+gKNv+jmSA== Date: Wed, 20 Jan 2016 13:56:38 +0000 Message-ID: References: <1453285486-16707-1-git-send-email-ed.bartosh@linux.intel.com> In-Reply-To: <1453285486-16707-1-git-send-email-ed.bartosh@linux.intel.com> Accept-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: user-agent: Microsoft-MacOutlook/14.6.0.151221 x-originating-ip: [10.252.11.79] MIME-Version: 1.0 Subject: Re: [review-request][PATCH] toaster: run bitbake server with --read option 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: Wed, 20 Jan 2016 13:56:46 -0000 Content-Language: en-US Content-Type: text/plain; charset="iso-8859-1" Content-ID: Content-Transfer-Encoding: quoted-printable On 20/01/2016 11:24, "toaster-bounces@yoctoproject.org on behalf of Ed Bartosh" wrote: >Toaster script run bitbake with --postread conf/toaster.conf. >It turned out that variables set this way don't influence the >build. Changing --postread to --read makes bitbake to read >variables earlier and should fix this issue. > >[YOCTO #8781] I haven't tried an lsb build, but this seems to fix the issue with building for machines not provided by the poky layers. Thanks! Bel=E9n > >Signed-off-by: Ed Bartosh >--- > bitbake/bin/toaster | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > >diff --git a/bitbake/bin/toaster b/bitbake/bin/toaster >index e5041cb..72eae64 100755 >--- a/bitbake/bin/toaster >+++ b/bitbake/bin/toaster >@@ -108,7 +108,7 @@ stop_system() >=20 > start_bitbake() { > unset BBSERVER >- bitbake --postread conf/toaster.conf --server-only -t xmlrpc -B >0.0.0.0:0 >+ bitbake --read conf/toaster.conf --server-only -t xmlrpc -B 0.0.0.0:0 > if [ $? -ne 0 ]; then > echo "Bitbake server start failed" > return 1 >--=20 >2.1.4 > >--=20 >_______________________________________________ >toaster mailing list >toaster@yoctoproject.org >https://lists.yoctoproject.org/listinfo/toaster