Re: [OE-core] [PATCH v2] license: add 'any_incompatible' function

2022-04-22 Thread Christopher Larson
On Wed, Apr 13, 2022 at 1:35 PM Peter Kjellerstedt < peter.kjellerst...@axis.com> wrote: > > > +${@"dbench" if not any_incompatible(d, "dbench", > "GPL-3.0-only") else ""} \ > > This usage seems error prone at best. What if the license for dbench > is changed? > > Also, the way I would

Re: [OE-core] [PATCH v2] license: add 'any_incompatible' function

2022-04-13 Thread Christopher Larson
t: den 13 april 2022 19:45 > > To: Christopher Larson ; > openembedded-core@lists.openembedded.org > > Cc: Christopher Larson > > Subject: Re: [OE-core] [PATCH v2] license: add 'any_incompatible' > function > > > > On Wed, 2022-04-13 at 16:00 +, Christopher

Re: [OE-core] [PATCH v2] license: add 'any_incompatible' function

2022-04-13 Thread Peter Kjellerstedt
> -Original Message- > From: openembedded-core@lists.openembedded.org > On Behalf Of Richard Purdie > Sent: den 13 april 2022 19:45 > To: Christopher Larson ; > openembedded-core@lists.openembedded.org > Cc: Christopher Larson > Subject: Re: [OE-core]

Re: [OE-core] [PATCH v2] license: add 'any_incompatible' function

2022-04-13 Thread Christopher Larson
It’s just an example, but you’re right, I’ll change to a better one. Thanks! -- Christopher Larson chris_lar...@mentor.com, chris.lar...@siemens.com, kerg...@gmail.com Principal Software Engineer, Embedded Linux Solutions, Siemens Digital Industries Software On Apr 13, 2022, 10:44 AM -0700, Richa

Re: [OE-core] [PATCH v2] license: add 'any_incompatible' function

2022-04-13 Thread Richard Purdie
On Wed, 2022-04-13 at 16:00 +, Christopher Larson wrote: > This function returns True if any of the specified packages are skipped due to > incompatible license. > > License exceptions are obeyed. The user may specify the package's license for > cross-recipe checks. > > This allows for additi

[OE-core] [PATCH v2] license: add 'any_incompatible' function

2022-04-13 Thread Christopher Larson
This function returns True if any of the specified packages are skipped due to incompatible license. License exceptions are obeyed. The user may specify the package's license for cross-recipe checks. This allows for additions to packagegroups only for non-incompatible builds. For example: RD