Skip to content
Commit ae404ef2 authored by Quentin Schulz's avatar Quentin Schulz Committed by Steve Sakoman
Browse files

base/insane: Check pkgs lics are subset of recipe lics only once



Move logic checking that all packages licenses are only a subset of
recipe licenses from base.bbclass to the insane.bbclass so that it's
evaluated only once, during do_package_qa.

As explained in the linked bugzilla entry, if a package license is not
part of the recipe license, the warning message gets shown an
unreasonable amount of time because it's evaluated every time a recipe
is parsed.

[YOCTO #10130]

This also makes it possible to silence this error with INSANE_SKIP.

Signed-off-by: default avatarQuentin Schulz <quentin.schulz@streamunlimited.com>
Signed-off-by: default avatarRichard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 852408ed)
Signed-off-by: default avatarSteve Sakoman <steve@sakoman.com>
parent 1af607d9
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment