]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/commit
sanity: make license QA failures fatal again
authorRoss Burton <ross.burton@intel.com>
Wed, 14 Sep 2016 23:08:01 +0000 (00:08 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Fri, 16 Sep 2016 14:24:02 +0000 (15:24 +0100)
commitcfe41123476089f98af4e40e2ea7d56d16499a79
treef6ad6617f9cc11831c8e31f196238511c4469e6d
parent2a2634e10debd81bb95fe7be5df92f89d67f80e2
sanity: make license QA failures fatal again

Previous work to clean up the license QA code (oe-core fbdf977) had the side
effect that failing the license sanity check (bad or missing LIC_FILES_CHKSUM)
would emit an error message but wouldn't actually abort the build.

Solve this by changing populate_lic_qa_checksum() so that it tracks if the
message class was in ERROR_QA and if so, aborts the function.

[ YOCTO #10280 ]

(From OE-Core rev: 5ba1a7505b904a4aa2118fa9614d76df97597af8)

Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/classes/insane.bbclass