Bug 16070

Summary: ERROR: Please check BBLAYERS in /buildarea/build/conf/bblayers.conf
Product: [Build System, Metadata & Runtime] Meta-yocto Reporter: Mingli Yu <mingli.yu>
Component: configurationAssignee: Mingli Yu <mingli.yu>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: Undecided CC: alex.kanavin, poky.bs.watcher, poky.watcher
Version: unspecified   
Target Milestone: 0.0.0   
Hardware: x86   
OS: Multiple   
Whiteboard:
OS type for building Yocto: --- Type of Regression: ---
Verified: Documentation change: Don't know

Description Mingli Yu 2025-11-19 09:08:45 UTC
Follow the guide at https://docs.yoctoproject.org/dev/dev-manual/poky-manual-setup.html to set a poky reference distro manually and occur an error as below.
$ cd /buildarea
$ mkdir layers/
$ git clone  https://git.openembedded.org/bitbake ./layers/bitbake
$ git clone  https://git.openembedded.org/openembedded-core ./layers/openembedded-core
$ git clone https://git.yoctoproject.org/meta-yocto ./layers/meta-yocto

$ TEMPLATECONF=$PWD/layers/meta-yocto/meta-poky/conf/templates/default source ./layers/openembedded-core/oe-init-build-env

$ bitbake core-image-full-cmdline

ERROR: The following layer directories do not exist:
ERROR:    /buildarea/layers/openembedded-core/meta-poky
ERROR:    /buildarea/layers/openembedded-core/meta-yocto-bsp
ERROR: Please check BBLAYERS in /buildarea/build/conf/bblayers.conf
Comment 1 Alexander Kanavin 2025-11-19 12:54:56 UTC
There was an earlier patch for this and it just merged:
https://git.yoctoproject.org/meta-yocto/commit/?id=5eb637bb0cd4811864d592458694f4a47c53aae3