Return-Path: Received: by yocto-www.yoctoproject.org (Postfix, from userid 118) id 95B2CE003C1; Wed, 9 Jul 2014 09:42:33 -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 * [192.55.52.93 listed in list.dnswl.org] * -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% * [score: 0.0000] Received: from mga11.intel.com (mga11.intel.com [192.55.52.93]) by yocto-www.yoctoproject.org (Postfix) with ESMTP id 5973AE002A6 for ; Wed, 9 Jul 2014 09:42:30 -0700 (PDT) Received: from fmsmga002.fm.intel.com ([10.253.24.26]) by fmsmga102.fm.intel.com with ESMTP; 09 Jul 2014 09:42:29 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.01,632,1400050800"; d="scan'208";a="567452938" Received: from irsmsx101.ger.corp.intel.com ([163.33.3.153]) by fmsmga002.fm.intel.com with ESMTP; 09 Jul 2014 09:42:28 -0700 Received: from irsmsx152.ger.corp.intel.com (163.33.192.66) by IRSMSX101.ger.corp.intel.com (163.33.3.153) with Microsoft SMTP Server (TLS) id 14.3.123.3; Wed, 9 Jul 2014 17:42:27 +0100 Received: from irsmsx106.ger.corp.intel.com ([169.254.8.192]) by IRSMSX152.ger.corp.intel.com ([169.254.6.25]) with mapi id 14.03.0123.003; Wed, 9 Jul 2014 17:42:27 +0100 From: "Barros Pena, Belen" To: "toaster@yoctoproject.org" Thread-Topic: [RFC] Configuration variables in Toaster Thread-Index: AQHPm5TDiOz3VWZ5yk2eVx/Fzfjc7w== Date: Wed, 9 Jul 2014 16:42:26 +0000 Message-ID: Accept-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: user-agent: Microsoft-MacOutlook/14.4.3.140616 x-originating-ip: [10.237.224.35] MIME-Version: 1.0 Cc: "Wymore, Farrell W \(Wind River\)" Subject: [RFC] Configuration variables in 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: Wed, 09 Jul 2014 16:42:33 -0000 Content-Language: en-US Content-Type: text/plain; charset="iso-8859-1" Content-ID: <3AAD65B1A4E62B42BEB9FE26485D38E7@intel.com> Content-Transfer-Encoding: quoted-printable Some discussion happened today about the list of variables that Toaster should expose (see below from previous thread). It was observed that, for cases when you are in control of the build hardware, it would be handy to be able to set variables like PARALLEL_MAKE, BB_NUMBER_THREADS and SSTATE_DIR. I took out those variables from the list because they impact how hardware runs builds and where build artifacts are stored, which are things that a user of a Toaster instance connected to a build farm should probably not touch. It was suggested that maybe the list of variables could change if Toaster is running on the same machine that runs the builds. There is also the "add variables" option, which is free form and that will allow you to type any variable and any value you want. So that option would in theory allow you to set PARALLEL_MAKE or anything else you might want to set. Now: that brings up a question about variable handling. In a Toaster instance connected to a build farm, a user of Toaster should not be able to override any variables that impact how hardware runs builds and where artifacts are stored. If the user adds PARALLEL_MAKE =3D "8" to a Toaster project configuration, that should have no effect on the PARALLEL_MAKE value that a build server in a farm is supposed to use, and that should have been set by whomever administers that farm. Same goes for SSTATE_DIR, SSTATE_MIRRORS, DL_DIR, etc. Maybe I am just not looking at this in the right way, or there is something I don't fully understand, but it seems to me that Toaster could become a liability otherwise. Any thoughts on how this should be handled would be much appreciated. Thanks! Bel=E9n On 08/07/2014 15:40, "Barros Pena, Belen" wrote: >That's the Toaster page that allows you to edit the project local.conf >file. I am trying to come up with a final list of the variables that will >be listed in that page. > >Looking at the default local.conf file, and excluding stuff that should be >defined by the Toaster instance (things like SSTATE_MIRRORS or DL_DIR), >this is what I'm left with: > >PACKAGE_CLASSES >SDKMACHINE >EXTRA_IMAGE_FEATURES >USER_CLASSES >TEST_IMAGE >OE_TERMINAL >PATCHRESOLVE >PACKAGECONFIG_pn-qemu-native (for Qemu configuration) >ASSUME_PROVIDED (for Qemu configuration) >CONF_VERSION > >Of the above, I am not sure we should expose the Qemu configuration stuff >or CONF_VERSION, but I could be wrong. > > >Hob also allows you to set: > >INCOMPATIBLE_LICENSE >IMAGE_FSTYPES >IMAGE_EXTRA_SPACE >TOOLCHAIN_BUILD >LINGUAS_INSTALL >plus proxy configuration variables (http_proxy, https_proxy, ftp_proxy, >all_proxy, CVS_PROXY_HOST, CVS_PROXY_PORT) > >Should we list this Hob stuff as well (except the proxy variables, I >guess)? > >Apart from the above, there will be a way to set IMAGE_INSTALL_append, and >also an option to add any other variable (free text kind of thing). > >Any thoughts on this list? > >Thanks! > >Bel=E9n > >--=20 >_______________________________________________ >toaster mailing list >toaster@yoctoproject.org >https://lists.yoctoproject.org/listinfo/toaster