From 1f56155e91da2030ee0a5e93037c62e1349ba89f Mon Sep 17 00:00:00 2001 From: Richard Purdie Date: Sun, 27 Nov 2022 17:08:42 +0000 Subject: base: Switch to use addpylib directive and BB_GLOBAL_PYMODULES Since bitbake now supports an official method to inject python modules, switch to it. Anyone using OE_EXTRA_IMPORTS will need to adjust their code accordingly, probably switching to their own module namespace. Also switch to using BB_GLOBAL_PYMODULES to list the global modules to import. Signed-off-by: Richard Purdie --- meta-selftest/conf/layer.conf | 2 ++ 1 file changed, 2 insertions(+) (limited to 'meta-selftest') diff --git a/meta-selftest/conf/layer.conf b/meta-selftest/conf/layer.conf index 0899806029..889c056eb6 100644 --- a/meta-selftest/conf/layer.conf +++ b/meta-selftest/conf/layer.conf @@ -9,4 +9,6 @@ BBFILE_COLLECTIONS += "selftest" BBFILE_PATTERN_selftest = "^${LAYERDIR}/" BBFILE_PRIORITY_selftest = "5" +addpylib ${LAYERDIR}/lib oeqa + LAYERSERIES_COMPAT_selftest = "kirkstone langdale" -- cgit 1.2.3-korg