From bba5bc91383fe8c72d88ccf6c1992d8106d7b4cf Mon Sep 17 00:00:00 2001 From: Peter Hoyes Date: Thu, 12 Jan 2023 11:02:49 +0000 Subject: [PATCH] arm: Add addpylib declaration OE-core 4901c9d471cab99d52876842980222ce271b66e4 "base: Switch to use addpylib directive and BB_GLOBAL_PYMODULES" means that ${LAYERDIR}/lib is no longer searched by default when loading test controllers. meta-arm defines some custom test controllers for testing FVPs, so add an addpylib directive to meta-arm/conf/layer.conf to fix testimage on FVPs. testimage.bbclass still has its own test case loading logic based on BBLAYERS, so other layers that only define test cases (not controllers or other Python libraries) need no further changes. Signed-off-by: Peter Hoyes Change-Id: I7fab638b4a1610d30efad2dae214378d096e0fc4 Signed-off-by: Jon Mason --- meta-arm/conf/layer.conf | 2 ++ 1 file changed, 2 insertions(+) diff --git a/meta-arm/conf/layer.conf b/meta-arm/conf/layer.conf index be8201c7..2b354375 100644 --- a/meta-arm/conf/layer.conf +++ b/meta-arm/conf/layer.conf @@ -17,3 +17,5 @@ LAYERSERIES_COMPAT_meta-arm = "mickledore" # runfvp --console needs telnet, so pull this in for testimage. HOSTTOOLS_NONFATAL += "telnet" + +addpylib ${LAYERDIR}/lib oeqa