diff mbox series

[1/2] insane: Add missing vardepsexclude

Message ID 20240829115912.4000512-1-richard.purdie@linuxfoundation.org
State Accepted, archived
Commit 9b6dae2771ed86bd2946548004f4da58e8c0b44c
Headers show
Series [1/2] insane: Add missing vardepsexclude | expand

Commit Message

Richard Purdie Aug. 29, 2024, 11:59 a.m. UTC
If we improve the function dependency visibility in insane.bbclass, it
exposes some dependencies which were previously not seen causing variances
in the do_package_qa task checksums. Update vardepsexclude in a couple of
test cases to ensure the sstate hash selftests pass and the taskhashes
don't vary when we don't expect them too.

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

Patch

diff --git a/meta/classes-global/insane.bbclass b/meta/classes-global/insane.bbclass
index 4d9543f1e66..32adcc722b3 100644
--- a/meta/classes-global/insane.bbclass
+++ b/meta/classes-global/insane.bbclass
@@ -361,6 +361,7 @@  def package_qa_check_arch(path,name,d, elf):
     elif not ((littleendian == elf.isLittleEndian()) or is_bpf):
         oe.qa.handle_error("arch", "Endiannes did not match (%d, expected %d) in %s" % \
                  (elf.isLittleEndian(), littleendian, package_qa_clean_path(path, d, name)), d)
+package_qa_check_arch[vardepsexclude] = "DEFAULTTUNE"
 
 QAPATHTEST[desktop] = "package_qa_check_desktop"
 def package_qa_check_desktop(path, name, d, elf):
@@ -616,6 +617,7 @@  def check_32bit_symbols(path, packagename, d, elf):
                 for sym in usedapis:
                     oe.qa.handle_error('32bit-time', msgformat % sym, d)
                 oe.qa.handle_error('32bit-time', 'Suppress with INSANE_SKIP = "32bit-time"', d)
+check_32bit_symbols[vardepsexclude] = "OVERRIDES"
 
 # Check license variables
 do_populate_lic[postfuncs] += "populate_lic_qa_checksum"