]> code.ossystems Code Review - openembedded-core.git/commit
recipetool: npm: Use README as license fallback
authorStefan Herbrechtsmeier <stefan.herbrechtsmeier@weidmueller.com>
Fri, 8 Oct 2021 07:48:32 +0000 (09:48 +0200)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 14 Oct 2021 10:48:35 +0000 (11:48 +0100)
commiteff85c86f36673a1cb5a5dc8c66598e0dc457374
tree76bd0fb02b03f36b82b6e1bb4303135e18c17e92
parent194df9c240378b6befeb10183889093ec7bb4d5f
recipetool: npm: Use README as license fallback

Use the README as license fallback if a license file is missing. Use the
linenumbers parameter of get_license_md5sums function to determine the
license text inside the README.

Signed-off-by: Stefan Herbrechtsmeier <stefan.herbrechtsmeier@weidmueller.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
scripts/lib/recipetool/create_npm.py