[OE-core] [PATCH 1/1] recipetool/create.py: fix LICENSE value
Burton, Ross
ross.burton at intel.com
Wed Jun 22 10:57:33 UTC 2016
On 16 June 2016 at 10:30, Chen Qi <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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openembedded.org/pipermail/openembedded-core/attachments/20160622/68236af6/attachment-0002.html>
More information about the Openembedded-core
mailing list