From: Richard Purdie Date: Wed, 13 Oct 2021 22:12:25 +0000 (+0100) Subject: base/insane: Import oe.qa by default X-Git-Tag: lucaceresoli/bug-15201-perf-libtraceevent-missing~6487 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3b4ce5f69cd962cd219aa3c0e7a2de9096e2ecb8;p=thirdparty%2Fopenembedded%2Fopenembedded-core-contrib.git base/insane: Import oe.qa by default Signed-off-by: Richard Purdie --- diff --git a/meta/classes/base.bbclass b/meta/classes/base.bbclass index 340ebe7d789..1f980149de4 100644 --- a/meta/classes/base.bbclass +++ b/meta/classes/base.bbclass @@ -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 ??= "" diff --git a/meta/classes/insane.bbclass b/meta/classes/insane.bbclass index f2d2ca3689f..433e4dfa33d 100644 --- a/meta/classes/insane.bbclass +++ b/meta/classes/insane.bbclass @@ -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')