]> code.ossystems Code Review - openembedded-core.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>
Thu, 15 Sep 2016 21:56:37 +0000 (22:56 +0100)
commit5ba1a7505b904a4aa2118fa9614d76df97597af8
tree9453fc9e655c217548b6505e7cd3ebd9cf7c46a8
parentcdae3e76232110903d124195b036e4e70fb28aa4
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 ]

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