[yocto] [PATCH][meta] Jethro issue with non-normalized paths in BBLAYERS during populate_sdk_ext
Laurent Gauthier
laurent.gauthier at soccasys.com
Sun May 14 13:20:30 PDT 2017
Issue with non-normalized paths in BBLAYERS during populate_sdk_ext
This one-liner applies to Yocto Jethro and fixes a failure of
populate_sdk_ext when copying bitbake and the layers.
This failure occurs when your BBLAYERS variable contains things
such as the following:
BBLAYERS ?= " \
${TOPDIR}/../meta \
${TOPDIR}/../meta-yocto \
${TOPDIR}/../meta-yocto-bsp \
"
Signed-off-by: Laurent Gauthier <laurent.gauthier at soccasys.com>
diff --git a/meta/lib/oe/copy_buildsystem.py b/meta/lib/oe/copy_buildsystem.py
index c0e7541..b2f437e 100644
--- a/meta/lib/oe/copy_buildsystem.py
+++ b/meta/lib/oe/copy_buildsystem.py
@@ -35,6 +35,7 @@ class BuildSystem(object):
corebase_files.append(bitbake_dir)
for layer in layers:
+ layer = os.path.abspath(layer)
layerconf = os.path.join(layer, 'conf', 'layer.conf')
if os.path.exists(layerconf):
with open(layerconf, 'r') as f:
More information about the yocto
mailing list