summaryrefslogtreecommitdiffstats
path: root/meta/classes/testimage.bbclass
diff options
context:
space:
mode:
authorRoss Burton <ross@burtonini.com>2021-10-20 18:30:07 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2021-10-23 17:42:28 +0100
commit9fa83474ada96064b577b57c57c7dea0306467b9 (patch)
treefe35b287a68cf9d7b6a3f1127ad8eb501fa06222 /meta/classes/testimage.bbclass
parentc7d6f9965ebed60f7c5a28cadc8b26ed8f8828f9 (diff)
downloadpoky-9fa83474ada96064b577b57c57c7dea0306467b9.tar.gz
oeqa/runtime: search sys.path explicitly for modules
The controller module loading code needs to be told what directories to search for modules via the target_modules_path keyword argument, which is set to BBPATH. However, as the actual module loading is done via importlib this relies on the paths being on sys.path, which it is as base.bbclass puts each layer's lib/ in sys.path. Simplify the code by removing this indirection, and simply search sys.path directly. (From OE-Core rev: 570a19581f582f77e04d6892adb647cd649a6943) Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes/testimage.bbclass')
0 files changed, 0 insertions, 0 deletions