Re: [OE-core] [PATCH v3 2/2] license: Allow treating missing license as error

2021-10-15 Thread Mike Crowe via lists.openembedded.org
On Thursday 14 October 2021 at 22:48:07 +0100, Richard Purdie wrote: > On Thu, 2021-10-14 at 18:09 +0100, Mike Crowe wrote: > > On Thursday 14 October 2021 at 17:54:18 +0100, Richard Purdie wrote: > > > On Thu, 2021-10-14 at 17:42 +0100, Mike Crowe via lists.openembedded.org > > > wrote: > > > >

Re: [OE-core] [PATCH v3 2/2] license: Allow treating missing license as error

2021-10-14 Thread Richard Purdie
On Thu, 2021-10-14 at 18:09 +0100, Mike Crowe wrote: > On Thursday 14 October 2021 at 17:54:18 +0100, Richard Purdie wrote: > > On Thu, 2021-10-14 at 17:42 +0100, Mike Crowe via lists.openembedded.org > > wrote: > > > On Wednesday 13 October 2021 at 11:48:05 +0100, Mike Crowe wrote: > > > > Use

Re: [OE-core] [PATCH v3 2/2] license: Allow treating missing license as error

2021-10-14 Thread Richard Purdie
On Thu, 2021-10-14 at 18:09 +0100, Mike Crowe wrote: > On Thursday 14 October 2021 at 17:54:18 +0100, Richard Purdie wrote: > > On Thu, 2021-10-14 at 17:42 +0100, Mike Crowe via lists.openembedded.org > > wrote: > > > On Wednesday 13 October 2021 at 11:48:05 +0100, Mike Crowe wrote: > > > > Use

Re: [OE-core] [PATCH v3 2/2] license: Allow treating missing license as error

2021-10-14 Thread Mike Crowe via lists.openembedded.org
On Thursday 14 October 2021 at 17:54:18 +0100, Richard Purdie wrote: > On Thu, 2021-10-14 at 17:42 +0100, Mike Crowe via lists.openembedded.org > wrote: > > On Wednesday 13 October 2021 at 11:48:05 +0100, Mike Crowe wrote: > > > Use the same WARN_WA and ERROR_QA variables as insane.bbclass to

Re: [OE-core] [PATCH v3 2/2] license: Allow treating missing license as error

2021-10-14 Thread Richard Purdie
On Thu, 2021-10-14 at 17:42 +0100, Mike Crowe via lists.openembedded.org wrote: > On Wednesday 13 October 2021 at 11:48:05 +0100, Mike Crowe wrote: > > Use the same WARN_WA and ERROR_QA variables as insane.bbclass to allow > > individual recipes, the distro or other configuration to determine > >

Re: [OE-core] [PATCH v3 2/2] license: Allow treating missing license as error

2021-10-14 Thread Mike Crowe via lists.openembedded.org
On Wednesday 13 October 2021 at 11:48:05 +0100, Mike Crowe wrote: > Use the same WARN_WA and ERROR_QA variables as insane.bbclass to allow > individual recipes, the distro or other configuration to determine > whether a missing licence should be treated as a warning (as it is now) > or as an

[OE-core] [PATCH v3 2/2] license: Allow treating missing license as error

2021-10-13 Thread Mike Crowe via lists.openembedded.org
Use the same WARN_WA and ERROR_QA variables as insane.bbclass to allow individual recipes, the distro or other configuration to determine whether a missing licence should be treated as a warning (as it is now) or as an error. oe.qa.handle_error isn't immediately fatal, so track the overall sanity