summaryrefslogtreecommitdiffstats
path: root/meta/classes/insane.bbclass
diff options
context:
space:
mode:
authorMike Crowe <mac@mcrowe.com>2021-10-15 15:39:54 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2021-10-17 11:56:33 +0100
commitcdeb02654fbaa47677b5c68521d05a5a575ac90d (patch)
treea8951fd93b91b0a3c64336a79bd74c68fba7c8d3 /meta/classes/insane.bbclass
parent51b1611e204b32b3e65176ef86d4562e2f330835 (diff)
downloadpoky-cdeb02654fbaa47677b5c68521d05a5a575ac90d.tar.gz
insane,license,license_image: Allow treating license problems as errors
Use the same WARN_WA and ERROR_QA variables as insane.bbclass to allow individual recipes, the distro or other configuration to determine whether the various detected license errors should be treated as a warning (as now) or as an error. oe.qa.handle_error isn't immediately fatal, so oe.qa.exit_if_errors must be called at the end of do_populate_lic to fail the task. (From OE-Core rev: bb164adca94b5a43751aabe6b6d702a3d60dfdc7) Signed-off-by: Mike Crowe <mac@mcrowe.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes/insane.bbclass')
-rw-r--r--meta/classes/insane.bbclass2
1 files changed, 2 insertions, 0 deletions
diff --git a/meta/classes/insane.bbclass b/meta/classes/insane.bbclass
index 9ad9771dfa..1e2f1b768a 100644
--- a/meta/classes/insane.bbclass
+++ b/meta/classes/insane.bbclass
@@ -26,6 +26,8 @@ WARN_QA ?= " libdir xorg-driver-abi \
26 invalid-packageconfig host-user-contaminated uppercase-pn patch-fuzz \ 26 invalid-packageconfig host-user-contaminated uppercase-pn patch-fuzz \
27 mime mime-xdg unlisted-pkg-lics unhandled-features-check \ 27 mime mime-xdg unlisted-pkg-lics unhandled-features-check \
28 missing-update-alternatives native-last missing-ptest \ 28 missing-update-alternatives native-last missing-ptest \
29 license-exists license-no-generic license-syntax license-format \
30 license-incompatible license-file-missing \
29 " 31 "
30ERROR_QA ?= "dev-so debug-deps dev-deps debug-files arch pkgconfig la \ 32ERROR_QA ?= "dev-so debug-deps dev-deps debug-files arch pkgconfig la \
31 perms dep-cmp pkgvarcheck perm-config perm-line perm-link \ 33 perms dep-cmp pkgvarcheck perm-config perm-line perm-link \