Return-Path: Received: by yocto-www.yoctoproject.org (Postfix, from userid 118) id 87778E0085F; Tue, 28 Oct 2014 08:06:12 -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: * -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% * [score: 0.0000] * -5.0 RCVD_IN_DNSWL_HI RBL: Sender listed at http://www.dnswl.org/, high * trust * [192.55.52.115 listed in list.dnswl.org] Received: from mga14.intel.com (mga14.intel.com [192.55.52.115]) by yocto-www.yoctoproject.org (Postfix) with ESMTP id 83974E00849 for ; Tue, 28 Oct 2014 08:06:08 -0700 (PDT) Received: from fmsmga003.fm.intel.com ([10.253.24.29]) by fmsmga103.fm.intel.com with ESMTP; 28 Oct 2014 07:59:04 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="4.97,862,1389772800"; d="scan'208";a="407293121" Received: from irsmsx103.ger.corp.intel.com ([163.33.3.157]) by FMSMGA003.fm.intel.com with ESMTP; 28 Oct 2014 07:56:59 -0700 Received: from irsmsx154.ger.corp.intel.com (163.33.192.96) by IRSMSX103.ger.corp.intel.com (163.33.3.157) with Microsoft SMTP Server (TLS) id 14.3.195.1; Tue, 28 Oct 2014 15:04:59 +0000 Received: from irsmsx110.ger.corp.intel.com ([169.254.15.3]) by IRSMSX154.ger.corp.intel.com ([169.254.12.116]) with mapi id 14.03.0195.001; Tue, 28 Oct 2014 15:04:58 +0000 From: "Barros Pena, Belen" To: "Damian, Alexandru" Thread-Topic: [Toaster] Layers with multiple versions of the same recipe Thread-Index: AQHP8sCKdXC3BMDV50+wRFESIaCnDQ== Date: Tue, 28 Oct 2014 15:04:58 +0000 Message-ID: Accept-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: user-agent: Microsoft-MacOutlook/14.4.5.141003 x-originating-ip: [10.237.224.140] MIME-Version: 1.0 Cc: Paul Eggleton , "toaster@yoctoproject.org" Subject: Re: Layers with multiple versions of the same recipe 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: Tue, 28 Oct 2014 15:06:12 -0000 Content-Language: en-US Content-Type: text/plain; charset="iso-8859-1" Content-ID: Content-Transfer-Encoding: quoted-printable On 15/10/2014 19:46, "Barros Pena, Belen" wrote: >On 14/10/2014 12:22, "Damian, Alexandru" >wrote: > >>Just to note: >> >>* we need to add version numbers to targets suggested, because there is >>no other way to distinguish two different "bash" targets in the list > >Mmm, I see what you mean, but I rather not crowd the suggestions any more >than they are, particularly because the case of a layer providing more >than one version of the same recipe is not that common. Maybe the >suggestions just display the target name once, and build the latest >version or whichever version is set as the preferred one. You can select >an specific target version from the layer details pages and the all >targets pages. > >> >> >>* setting a PREFFERRED_VERSION will change the project configuration page >>- not a problem, but we need to indicate this to the user somehow > >Sorry, I am probably missing something obvious, but I am not sure how this >changes the project configuration page. I think the answer is it doesn't, but it does change the configuration variables page. We should probably add PREFERRED_VERSION to that page when we set it.=20 Also, we should probably tell users when one of their local.conf variables has been overriden. I've opened an issue in Bugzilla for that (targeting 1.9). https://bugzilla.yoctoproject.org/show_bug.cgi?id=3D6900 Cheers Bel=E9n > >Cheers > >Bel=E9n > >> >> >>- Alex >> >> >> >>On Fri, Oct 10, 2014 at 3:57 PM, Barros Pena, Belen >> wrote: >> >>I have spoken briefly to Paul about the problem of layers providing more >>than one version of the same recipe, and how we can ensure that the >>recipe >>version selected by the user gets built. Paul thinks that using >>PREFERRED_VERSION should work reasonably well, but it will not work >>always, since we would be setting PREFERRED_VERSION in local.conf and >>this >>can be overridden by distro configuration. >> >>He still thinks setting PREFERRED_VERSION is an acceptable solution. He >>also thinks that we should probably add some functionality at some point >>to deal with the cases where local configuration is being overridden by >>distro config. The idea would be that builds encountering such >>circumstances would throw a warning, and that warning would be collected >>and displayed by Toaster once the build completes. Because we store >>variable history in the Toaster database, we should be able to point >>users >>straight to the variable causing the problem. I will open an issue for >>this in Bugzilla. >> >>Thoughts? >> >>Bel=E9n >> >> >> >> >> >> >> >>--=20 >>Alex Damian >>Yocto Project >> >>SSG / OTC=20 >> >> > >--=20 >_______________________________________________ >toaster mailing list >toaster@yoctoproject.org >https://lists.yoctoproject.org/listinfo/toaster