What's the equivalent of using bitbake-layers when using repo?

I’m trying to make the connection between repo based build instructions (e.g. Raspberry Pi 0 Wifi) and the Mender documentation (https://docs.mender.io/1.7/artifacts/yocto-project/building)

To select which layers I’m using, do I use the bitbake-layers command as the Mender documentation says?

Or do I edit build/conf/bblayers.conf ?

Or…?

Which ever you like :slightly_smiling_face:

bitbake-layers is simply a convience command which will in the end edit build/conf/bblayers.conf file for you.

1 Like

The advantage of using bitbake-layers to add the layer is that it will flag missing layer dependencies while adding the layer but it is slower than simply editing your bblayers.conf since it needs to parse the recipes and such. If you do manually edit the file, the first time you try to do a build, the missing dependency will be flagged.

1 Like