From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-iy0-f175.google.com ([209.85.210.175]) by linuxtogo.org with esmtp (Exim 4.72) (envelope-from ) id 1SMnOU-0004L0-9h for openembedded-core@lists.openembedded.org; Tue, 24 Apr 2012 23:35:30 +0200 Received: by iaag37 with SMTP id g37so1605373iaa.6 for ; Tue, 24 Apr 2012 14:25:54 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:x-originating-ip:in-reply-to:references:from:date :message-id:subject:to:content-type:x-gm-message-state; bh=wIez1tAwO/A1Nq1HHPilK+UjsUHH1Rx7ISt7AzilURs=; b=oOIjcl2M88fKjYMG5WWYD4D83pDRVqfsYQWFvh9oGufKqFUZVDHggqzzv1Iy1YX85U bTysxGPHN/9+CDeXOnMPrf4tvzkUjly/zPpokxCLyRqNlB64EABpkE3A4kAEg8POx3Dt KmBIKQL+FAeKvaLRe0k/fFHY2tAyYivxxEQuauuHPIt1O6QN0LrWwvxI4mFrRNJ42QYs 0SkPKHLeN7P9FUmo/KFeqZySySTjMWlvRj4U5dqL/vBBDVIjFn0ROKLhncwe+MjlySMd w0/+JqRZsU4VXURjDhBTAz+QWf4pX6KU2gO0KSNbfraM9ALh3NOD83Lh971xLx1BI3vJ k2IA== Received: by 10.50.88.225 with SMTP id bj1mr11874512igb.42.1335302754722; Tue, 24 Apr 2012 14:25:54 -0700 (PDT) MIME-Version: 1.0 Received: by 10.64.25.18 with HTTP; Tue, 24 Apr 2012 14:25:34 -0700 (PDT) X-Originating-IP: [79.115.103.32] In-Reply-To: References: From: Andrei Gherzan Date: Wed, 25 Apr 2012 00:25:34 +0300 Message-ID: To: Patches and discussions about the oe-core layer X-Gm-Message-State: ALoCoQmsgmne3xg+r1TRzo8CP0q0yi+RxYBusTuZVJPXN/WfXF2mdcwCqGlFS5WkOjrl74dVmDSZ Subject: Re: LICENSE_{X}-xxx is parsed? X-BeenThere: openembedded-core@lists.openembedded.org X-Mailman-Version: 2.1.11 Precedence: list Reply-To: Patches and discussions about the oe-core layer List-Id: Patches and discussions about the oe-core layer List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 24 Apr 2012 21:35:30 -0000 Content-Type: multipart/alternative; boundary=e89a8f2344175ce3cc04be73669b --e89a8f2344175ce3cc04be73669b Content-Type: text/plain; charset=ISO-8859-1 Digging into your commit i realized that this is already done. Thank you. @g On Wed, Apr 25, 2012 at 00:15, Andrei Gherzan wrote: > On Tue, Apr 24, 2012 at 20:44, Flanagan, Elizabeth < > elizabeth.flanagan@intel.com> wrote: > >> On Tue, Apr 24, 2012 at 10:25 AM, Andrei Gherzan >> wrote: >> > Hello everybody, >> > >> > Is there any mechanism of parsing LICENSE variables for every provided >> > package in a bb file? >> > >> > To be a little more clear about this. >> > >> > If i have an app named myapp. Let's say the myapp_1.0.bb includes: >> > LICENSE = "GPLv3 & LGPLv2.1" >> > LICENSE_${PN} = LGPLv2.1 >> > LICENSE_${PN} -tests = GPLv3 >> > >> > If this app is not whitelisted, this file will pe ignored (assuming >> > INCOMPATIBLE_LICENSE = GPLv3) even if the only needed package on the >> final >> > fs is the ${PN} package. >> > >> >> As you have package level licensing set, it will actually check the >> LICENSE_${PN}. See: >> bdf2d94c35b7e5ed1723f987696a6c865bff212c Which means it will go and >> use the PN level >> license to determine if it should be excluded. If no PN level exists >> it should fall back to LICENSE >> >> > I realize this but still, what about the rest for packages provided in a > bb file? > > >> > For files in these case (like gnults) we use right now WHITELIST. In >> this >> > way license checking on those packages is skipped. >> > >> > If nobody works on this (or this is already done but i couldn't spot it >> in >> > the code) i can dig and propose a way to solve this issue. >> > >> > @g >> > _______________________________________________ >> > Openembedded-core mailing list >> > Openembedded-core@lists.openembedded.org >> > http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core >> > >> >> >> >> -- >> Elizabeth Flanagan >> Yocto Project >> Build and Release >> >> _______________________________________________ >> Openembedded-core mailing list >> Openembedded-core@lists.openembedded.org >> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core >> > > --e89a8f2344175ce3cc04be73669b Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable
Digging into your commit i realized that this is= already done. Thank you.

@g

On Wed, Apr 25, 20= 12 at 00:15, Andrei Gherzan <andrei@gherzan.ro> wrote:
On Tue, Apr 24, 2012 at 20:44, Flanagan, Elizab= eth <elizabeth.flanagan@intel.com> wrote:
On Tue, Apr 24, 2012 at 10:25 AM, Andre= i Gherzan <andrei= @gherzan.ro> wrote:
> Hello everybody,
>
> Is there any=A0mechanism of parsing LICENSE variables for every provid= ed
> package in a bb file?
>
> To be a little more clear about this.
>
> If i have an app named myapp. Let's say the myapp_1.0.bb includes:
> LICENSE =3D "GPLv3 & LGPLv2.1"
> LICENSE_${PN} =3D LGPLv2.1
> LICENSE_${PN} -tests =3D GPLv3
>
> If this app is not whitelisted, this file will pe ignored (assuming > INCOMPATIBLE_LICENSE =3D GPLv3) even if the only needed package on the= final
> fs is the ${PN} package.
>

As you have package level licensing set, it will actually check the LICENSE_${PN}. See:
bdf2d94c35b7e5ed1723f987696a6c865bff212c Which means it will go and
use the PN level
license to determine if it should be excluded. If no PN level exists
it should fall back to LICENSE


I=A0realize=A0this bu= t still, what about the rest for packages provided in a bb file?
=A0
> For files in these case (like gnults) we use right now WHITELIST. In t= his
> way license=A0checking=A0on those packages is skipped.
>
> If nobody works on this (or this is already done but i couldn't sp= ot it in
> the code) i can dig and propose a way to solve this issue.
>
> @g
> _______________________________________________
> Openembedded-core mailing list
> Openembedded-core@lists.openembedded.org
> http://lists.linuxtogo.org/cgi-bin/mailman/li= stinfo/openembedded-core
>



--
Elizabeth Flanagan
Yocto Project
Build and Release

_______________________________________________
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.linuxtogo.org/cgi-bin/mailman/listinf= o/openembedded-core


--e89a8f2344175ce3cc04be73669b--