When generating the extended SDK, there is a copy step where this class goes through the layers and other stuff that have been copied to generate the SDK.
The corebase; ie. the folder that contains the core layer 'meta' is treated in a special way. Unfortunately in our tree, we have: layers/meta/meta | `- core layer `------- corebase When populate_sdk_ext checks this layer, it thinks wrongly that it's the corebase folder, so it treats it differently and doesn't add it to the layer list. When bitbake tries to run in the generated SDK, it will fail because it doesn't find information stored in that layer. This patch makes sure only the corebase folder is identified as so. Signed-off-by: Damien Riegel <damien.rie...@savoirfairelinux.com> --- meta/classes/populate_sdk_ext.bbclass | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta/classes/populate_sdk_ext.bbclass b/meta/classes/populate_sdk_ext.bbclass index 2dd21237e2..917fbfa1b4 100644 --- a/meta/classes/populate_sdk_ext.bbclass +++ b/meta/classes/populate_sdk_ext.bbclass @@ -207,7 +207,7 @@ python copy_buildsystem () { sdkbblayers = [] corebase = os.path.basename(d.getVar('COREBASE')) for layer in layers_copied: - if corebase == os.path.basename(layer): + if corebase == layer: conf_bbpath = os.path.join('layers', layer, 'bitbake') else: sdkbblayers.append(layer) -- 2.17.0 -- _______________________________________________ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-core