]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/commitdiff
insane: Add missing vardepsexclude
authorRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 29 Aug 2024 06:38:51 +0000 (07:38 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 29 Aug 2024 20:57:36 +0000 (21:57 +0100)
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

index f1d711c77cb163e2a1630af9847003a9211cc0e9..bdc7f2b703700767958beba0f7aac46bb43c3f73 100644 (file)
@@ -363,6 +363,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):
@@ -618,6 +619,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"