]> code.ossystems Code Review - openembedded-core.git/commit
license/insane: Show warning for obsolete license usage
authorRichard Purdie <richard.purdie@linuxfoundation.org>
Mon, 28 Feb 2022 15:20:59 +0000 (15:20 +0000)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Wed, 2 Mar 2022 18:41:52 +0000 (18:41 +0000)
commit9379f80f484f94686a4d494e9e237fadfb72a938
tree6791e31dfa29c9fc12e579d8f1493fe00cad4b77
parent0d19c45ba6cf43518f380ca5afe9753a2eda0691
license/insane: Show warning for obsolete license usage

We want to use SPDX identifiers in LICENSE variables. There is now a
conversion script to make most of the translations. Add a list of
strings which have been replaced so we can show warnings to users
if they're still used anywhere.

Add checks to the package as insane check. This is currently a warning
by default but can be turned off or made an error as per the other standard
checks.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/classes/base.bbclass
meta/classes/insane.bbclass
meta/lib/oe/license.py