balenaEngine Yocto Layer?

Hello :slight_smile:

I wanted to ask if there is actually seome balenaEngine Yotco Layer, so that one can include balenaEngine easily into a normal Yocto Warrior build?

I presume there are also some changes to the kernel config needed, so any ideas are very appreciated :slight_smile:

Best regards,

Nico

We integrate the engine into balenaOS like this: https://github.com/balena-os/meta-balena/blob/master/meta-balena-common/recipes-containers/balena/balena_git.bb

You could take that and turn it into a layer - that would be a very nice project :slight_smile:

Or as an alternative (and the probably easier option) add meta-balena layer but not build balenaOS. Instead build poky. You will only need to add the balena package to poky’s core-image-minimal

cc @zubairlk

I have just created something like that here: https://github.com/3mdeb/meta-balena-engine/commits/master
Feel free to try it out. I have just tested out the basics.

1 Like

Hi @macpijan – welcome to the forums, and thanks for letting us know about your work! We’ve let our OS team know that they should have a look.

All the best,
Hugh

Hi @macpijan - thanks for your answer and cool project.
I currently changed my approach and solved the problem differently, but I really gonna keep this post in mind as soon as I build an Yocto image again in the future :slight_smile:
Thanks for the info :slight_smile:

Best regards,
Nico