]> code.ossystems Code Review - openembedded-core.git/commit
recipetool/create_npm: handle the licenses of the dependencies
authorJean-Marie LEMETAYER <jean-marie.lemetayer@savoirfairelinux.com>
Fri, 24 Jan 2020 17:07:38 +0000 (18:07 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Mon, 27 Jan 2020 16:38:54 +0000 (16:38 +0000)
commit9a70d4996c84b277f423eda5aac4acbe344599f4
treef833aa75f63bc69bf761714f38c76c3c409ed963
parent1deccb0f0c204cd02fb8606f180d8a13df9f31db
recipetool/create_npm: handle the licenses of the dependencies

As usual the 'LICENSE' and the 'LIC_FILES_CHKSUM' values reflects all
the license files discovered in the source tree (including the
dependencies).

For npm recipes the 'LIC_FILES_CHKSUM' value contains also the status of
the 'package.json' file of every packages as it contains license
informations.

Finally each package has a separate 'LICENSE_${PN}-package-name' value
which describes its license.

Signed-off-by: Jean-Marie LEMETAYER <jean-marie.lemetayer@savoirfairelinux.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
scripts/lib/recipetool/create_npm.py