From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga03.intel.com (mga03.intel.com [143.182.124.21]) by yocto-www.yoctoproject.org (Postfix) with ESMTP id 93188E01211 for ; Wed, 17 Aug 2011 12:26:17 -0700 (PDT) Received: from azsmga002.ch.intel.com ([10.2.17.35]) by azsmga101.ch.intel.com with ESMTP; 17 Aug 2011 12:26:27 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="4.68,240,1312182000"; d="scan'208";a="8245956" Received: from unknown (HELO [10.255.14.5]) ([10.255.14.5]) by AZSMGA002.ch.intel.com with ESMTP; 17 Aug 2011 12:26:27 -0700 From: Tom Zanussi To: Darren Hart In-Reply-To: <4E4BF98A.5090501@linux.intel.com> References: <9391ba93d0385e0768062df5c4c087d9673a827b.1313598804.git.tom.zanussi@intel.com> <0bb19ed262106171280812cbd463b6697e848d4d.1313598804.git.tom.zanussi@intel.com> <4E4BF98A.5090501@linux.intel.com> Date: Wed, 17 Aug 2011 14:26:33 -0500 Message-ID: <1313609193.2394.13.camel@elmorro> Mime-Version: 1.0 X-Mailer: Evolution 2.28.3 Cc: "yocto@yoctoproject.org" Subject: Re: [PATCH 10/12] meta-fri2: make the use of emgd-driver-bin COMMERCIAL X-BeenThere: yocto@yoctoproject.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: Discussion of all things Yocto List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 17 Aug 2011 19:26:17 -0000 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit On Wed, 2011-08-17 at 10:25 -0700, Darren Hart wrote: > > On 08/17/2011 09:51 AM, tom.zanussi@intel.com wrote: > > From: Tom Zanussi > > > > The emgd-driver-bin recipe now automatically downloads and installs > > EMGD using the new click-through-free tarball, but since the binaries > > still fall under a non-free license, we need to prevent it from being > > accidentally installed in an image. > > > > We therefore make sure it's labeled in the fri2 layer with > > 'COMMERCIAL_LICENSE'. In order to build an fri2 image, the user > > now needs to add a 'COMMERCIAL_LICENSE = ""' line to local.conf. > > > > Signed-off-by: Tom Zanussi > > --- > > meta-fri2/conf/layer.conf | 2 ++ > > 1 files changed, 2 insertions(+), 0 deletions(-) > > > > diff --git a/meta-fri2/conf/layer.conf b/meta-fri2/conf/layer.conf > > index 261cccc..eb17336 100644 > > --- a/meta-fri2/conf/layer.conf > > +++ b/meta-fri2/conf/layer.conf > > @@ -10,3 +10,5 @@ BBFILES := "${BBFILES} ${LAYERDIR}/recipes-*/*/*.bb \ > > BBFILE_COLLECTIONS += "fri2" > > BBFILE_PATTERN_fri2 := "^${LAYERDIR}/" > > BBFILE_PRIORITY_fri2 = "6" > > + > > +COMMERCIAL_LICENSE += "emgd-driver-bin" > > Can't this be done in the common emgd driver recipe? Seems wrong to have > to specify commercial license for recipe in a machine config... A > different machine could just omit it and the user would not have to add > COMMERCIAL_LICENSE = "" to their local.conf and it would be fine? > > I did try that first, but puting it in the layer.conf was the only thing that worked. I think the same thing could be said for the other recipes in the COMMERCIAL_LICENSE list in default-distrovars, as well as the COMMERCIAL_LICENSE = "" override in local.conf, which is always the answer on the list given whenever people try to use those recipes (none of this is documented anywhere that I could find either. Now at least it is for these layers.) Tom