Files
Christopher Larson 6421c94565 external-common.bbclass: fix long standing oe.external import issue
bitbake-layers and devtool both fail to run commands with
meta-external-toolchain included, as it fails to import oe.external. It
turns out that oe_import in base.bbclass is not entirely sufficient to
get the needed modules imported when namespace packages are involved,
and those packages have already been imported. Re-import such packages
after the sys.path change to ensure the new __init__.py files are
parsed, and the new __path__ changes picked up.

JIRA: SB-11904

Signed-off-by: Christopher Larson <chris_larson@mentor.com>
2018-10-30 06:01:57 +05:00
..