From 3b4ce5f69cd962cd219aa3c0e7a2de9096e2ecb8 Mon Sep 17 00:00:00 2001 From: Richard Purdie Date: Wed, 13 Oct 2021 23:12:25 +0100 Subject: [PATCH] base/insane: Import oe.qa by default Signed-off-by: Richard Purdie --- meta/classes/base.bbclass | 2 +- meta/classes/insane.bbclass | 2 -- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/meta/classes/base.bbclass b/meta/classes/base.bbclass index 340ebe7d78..1f980149de 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 f2d2ca3689..433e4dfa33 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') -- 2.40.1