Error building torizon-core-docker with extra module


i am trying to add a kernel module when building the torizon-core-docker image with yocto. I updated everything to latest git version with repo (the bug from here is resolved.

Using bitbake i can build the module (aka generate tje .ko file)

i added the layer to yocto with bitbake-layers and added MACHINE_ESSENTIAL_EXTRA_RDEPENDS += directive to build/conf/local.conf file.

The error i get is failed with exit code 1
Log file attached.

should i inject the .ko file after building the image without my recipe (layer and local.conf directive)?

I need the module for a touch controller that is available only starting in kernel version 5.14.
log.do_image_ostreecommit.txt (7.4 KB)

Greetings @c.gantner,

If I understand correctly, you have a custom meta-layer with your changes then correct?

Is this meta-layer being Git version controlled as described here: Build TorizonCore from Source With Yocto Project/OpenEmbedded | Toradex Developer Center

All meta-layers involved with a Torizon Yocto build need to be controlled by Git due to how we manage the versioning with Torizon.

Best Regards,

The meta-layer was not git version controlled.

After applying git it did build ok.


Great, good to hear that was the only issue.