]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/commit
base: Switch to use addpylib directive and BB_GLOBAL_PYMODULES
authorRichard Purdie <richard.purdie@linuxfoundation.org>
Sun, 27 Nov 2022 17:08:42 +0000 (17:08 +0000)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 8 Dec 2022 11:15:02 +0000 (11:15 +0000)
commit1f56155e91da2030ee0a5e93037c62e1349ba89f
tree37993349201e0eb4edc07fdbc484a78804abf8ed
parentec5f380a14246e31b2a1a12dda9fe2178b1e5f83
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 <richard.purdie@linuxfoundation.org>
meta-selftest/conf/layer.conf
meta/classes-global/base.bbclass
meta/conf/layer.conf
meta/lib/oe/__init__.py