Issue with key verification using Directory Update Module

Is there a way to have my yocto build include mender-artifact? To see if I have settings wrong somewhere?

To include it on target? You otherwise have the tool somewhere in the build directory as part of your generated host rootfs.

To install on target just add the following in e.g local.conf,

IMAGE_INSTALL_append = "mender-artifact"

When I do that, my yocto build errors on the mender-artifact-3.0.0-r0 do_install step. It seems it cnanot find mender-artifact binary.

Maybe I shuld clear out my cache and rebuild things?

Maybe you can start a different topic with more details about the error. I have never actually tried installing on target and is not a “normal case”, and might be something in the recipe that needs updating.

I feel like an idiot now.

Somehow I was using the wrong private key for signing my directory artifact.

It works like a charm now!

Thanks for the update