insane: Add buildpaths to WARN_QA by default

Message ID 20220701140825.783703-1-richard.purdie@linuxfoundation.org
State Accepted, archived
Commit 54715c054eac8cf8214a5a390f722567efed54e0
Headers show
Series insane: Add buildpaths to WARN_QA by default | expand

Commit Message

Richard Purdie July 1, 2022, 2:08 p.m. UTC
This was never enabled originally as there were a ton of warnings and
we weren't able to fix them. Now we have reproducibile builds, this can
be enabled by default as there shouldn't be such paths any longer.

This is known to work well for OE-Core, other layers may have variable
quaility but enabling it will start to hint to other layers and maintainers
that these issues need fixing.

It also will give developers early warning of reproducibility issues, rather
than us catching them on the YP autobuilder.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
---
 meta/classes/insane.bbclass | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Patch

diff --git a/meta/classes/insane.bbclass b/meta/classes/insane.bbclass
index fc7bb431e09..8c5d5ecc820 100644
--- a/meta/classes/insane.bbclass
+++ b/meta/classes/insane.bbclass
@@ -20,7 +20,7 @@ 
 
 # Elect whether a given type of error is a warning or error, they may
 # have been set by other files.
-WARN_QA ?= " libdir xorg-driver-abi \
+WARN_QA ?= " libdir xorg-driver-abi buildpaths \
             textrel incompatible-license files-invalid \
             infodir build-deps src-uri-bad symlink-to-sysroot multilib \
             invalid-packageconfig host-user-contaminated uppercase-pn patch-fuzz \