Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Failed to initialise build environment

I am trying to build "yocto" with "jethro" (https://wiki.yoctoproject.org/wiki/Releases) version but when I try initialise build environment it gives following error.

Error: 'meta-poky/conf' must be a directory containing local.conf & 
bblayers.conf

I found out that meta-poky folder is not available in jethro version. What am I doing wrong in initialisation?

I tried with later version krogoth and it is working fine with it.

like image 354
PareshDhandhukiya Avatar asked May 18 '26 21:05

PareshDhandhukiya


1 Answers

meta-yocto was indeed renamed meta-poky in Krogoth. There is code to handle your configuration in the upgrade case (going from jethro to krogoth) but downgrade probably isn't tested: I'm guessing you did a build with a newer release and then jethro.

This could maybe be fixed by just modifying conf/templateconf.cfg & conf/bblayers.conf manually (to refer to "meta-yocto" instead of "meta-poky"). Alternatively you could move your whole conf/ out of the way, re-generate a template configuration with . oe-init-build-env and then redo any local configuration you had.

like image 135
Jussi Kukkonen Avatar answered May 20 '26 09:05

Jussi Kukkonen



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!