[OE-core] [PATCH] insane.bbclass: handle INSANE_SKIP for license-checksum

Richard Purdie richard.purdie at linuxfoundation.org
Thu Aug 18 16:55:25 UTC 2016


On Thu, 2016-08-18 at 17:37 +0500, Awais Belal wrote:
> The function populate_lic_qa_checksum() is used to do the
> QA test for license-checksum but it does not handle the
> scenario where a package adds license-checksum to its
> INSANE_SKIP and hence fails in such condition.
> This patch adds handling of INSANE_SKIP to the
> populate_lic_qa_checksum() function so it returns
> cleanly in such a scenario.

license-checksum is not per package. Its already handled based on
WARN_QA and ERROR_QA so I don't think we need to complicate this
further. You could for example set:

WARN_QA_remove_pn-XXX = "license-check"
ERROR_QA_remove_pn-XXX = "license-check"

Skipping license checksums is likely a bad idea anyway and not
something we want to make easier?

Cheers,

Richard




More information about the Openembedded-core mailing list