How to get mender-setup to device

Hi,

I have migrated our Yocto layers to scarthgap and upgraded mender layers in process.

I have followed Upgrading | Mender documentation and replaced all mender calls to mender-xxx in our scripts on device, but I’m stuck at mender-setup part. I can’t see the mender-setup binary in resulting rootfs for device and can not find recipe to include it. Is there any? I suppose, this is repository for source code GitHub - mendersoftware/mender-setup ?

I’m inheriting mender-full in my machine file.

Thanks in advance for the info,

Michal

Hi @Michal,

Thanks for reaching out. In a Yocto environment, the mender-setup command is usually not required, as the tenant token and server are configured at build time. Hence, we do provide a recipe at meta-mender-community/meta-mender-validation/recipes-mender/mender-setup at scarthgap · mendersoftware/meta-mender-community · GitHub so you can manually add it, but it is not part of the core layer anymore.

Greetz,
Josef