Return-Path: Received: by yocto-www.yoctoproject.org (Postfix, from userid 118) id ED465E007B9; Fri, 10 Oct 2014 07:59:50 -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.20 listed in list.dnswl.org] * -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% * [score: 0.0000] Received: from mga02.intel.com (mga02.intel.com [134.134.136.20]) by yocto-www.yoctoproject.org (Postfix) with ESMTP id B950BE00781 for ; Fri, 10 Oct 2014 07:59:46 -0700 (PDT) Received: from orsmga001.jf.intel.com ([10.7.209.18]) by orsmga101.jf.intel.com with ESMTP; 10 Oct 2014 07:59:30 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.04,692,1406617200"; d="scan'208";a="586755356" Received: from irsmsx103.ger.corp.intel.com ([163.33.3.157]) by orsmga001.jf.intel.com with ESMTP; 10 Oct 2014 07:59:19 -0700 Received: from irsmsx110.ger.corp.intel.com ([169.254.15.199]) by IRSMSX103.ger.corp.intel.com ([169.254.3.175]) with mapi id 14.03.0195.001; Fri, 10 Oct 2014 15:57:28 +0100 From: "Barros Pena, Belen" To: "Damian, Alexandru" , Paul Eggleton Thread-Topic: Layers with multiple versions of the same recipe Thread-Index: AQHP5JqCIQl027iEb0+V+kp0shmblw== Date: Fri, 10 Oct 2014 14:57:28 +0000 Message-ID: Accept-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: user-agent: Microsoft-MacOutlook/14.4.4.140807 x-originating-ip: [10.237.224.32] MIME-Version: 1.0 Cc: "toaster@yoctoproject.org" Subject: 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: Fri, 10 Oct 2014 14:59:51 -0000 Content-Language: en-US Content-Type: text/plain; charset="iso-8859-1" Content-ID: Content-Transfer-Encoding: quoted-printable 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