]> code.ossystems Code Review - openembedded-core.git/commitdiff
base/insane: Import oe.qa by default
authorRichard Purdie <richard.purdie@linuxfoundation.org>
Wed, 13 Oct 2021 22:12:25 +0000 (23:12 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 14 Oct 2021 21:31:55 +0000 (22:31 +0100)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/classes/base.bbclass
meta/classes/insane.bbclass

index 340ebe7d789d67a3a63570413d044fcf81a1c420..1f980149de4f5627131fac16fda31e937b4ac125 100644 (file)
@@ -12,7 +12,7 @@ inherit logging
 
 OE_EXTRA_IMPORTS ?= ""
 
-OE_IMPORTS += "os sys time oe.path oe.utils oe.types oe.package oe.packagegroup oe.sstatesig oe.lsb oe.cachedpath oe.license ${OE_EXTRA_IMPORTS}"
+OE_IMPORTS += "os sys time oe.path oe.utils oe.types oe.package oe.packagegroup oe.sstatesig oe.lsb oe.cachedpath oe.license oe.qa ${OE_EXTRA_IMPORTS}"
 OE_IMPORTS[type] = "list"
 
 PACKAGECONFIG_CONFARGS ??= ""
index f2d2ca3689fd0c4d23bdd627a7ac185daae8b3f4..433e4dfa33dd0ef0b6ceb1a828b8e7c377cd74ce 100644 (file)
@@ -702,8 +702,6 @@ def package_qa_recipe(warnfuncs, errorfuncs, pn, d):
 
 # Walk over all files in a directory and call func
 def package_qa_walk(warnfuncs, errorfuncs, package, d):
-    import oe.qa
-
     #if this will throw an exception, then fix the dict above
     target_os   = d.getVar('TARGET_OS')
     target_arch = d.getVar('TARGET_ARCH')