[OE-core] [PATCH 1/1] recipetool/create.py: fix LICENSE value

ChenQi Qi.Chen at windriver.com
Thu Jun 23 01:30:26 UTC 2016


On 06/22/2016 06:57 PM, Burton, Ross wrote:
>
> On 16 June 2016 at 10:30, Chen Qi <Qi.Chen at windriver.com 
> <mailto:Qi.Chen at windriver.com>> wrote:
>
>     When there multiple license in a repo, the LICENSE value be created as
>     something like "LGPLv2.1 GPLv2", which causes the following warning.
>
>     LICENSE value "LGPLv2.1 GPLv2" has an invalid format - license
>     names must
>     be separated by the following characters to indicate the license
>     selection: &|()
>
>     Fix it by using '&' to join multiple licenses.
>
>
> This behaviour is intentional, as recipetool isn't smart enough to 
> read the licensing terms and decide if there are multiple licenses in 
> aggregate (&) or a choice of licenses (|).  The solution is to list 
> all the licenses that have been found, let bitbake throw a warning, 
> and the person creating a recipe comprehend the licensing situation 
> and add the relevant operations.
>
> Ross

Thanks for your detailed explanation.

Best Regards,
Chen Qi
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openembedded.org/pipermail/openembedded-core/attachments/20160623/642e681a/attachment-0002.html>


More information about the Openembedded-core mailing list