Image with multiple device types

Hi,

We are running Mender / Yocto on jetson TX2 based on meta-tegra. We are currently facing the situation where we need to have a split in our fleet. Some of them will be running on Warrior and others will be running on Dunfell. Currently meta-tegra / mender doesn’t support branche rootfs updates due to partition layout changes more details here.

How can I prevent mender from upgrading machines that are running on warrior ? I was planning to create a new device type eg TX2-V2.

Is it possible to build an Yocto image with multiple device types ? eg TX2 & TX2-V2 ?

Best regards

Hi @Austriker you can certainly create multiple image types and that would definitely be the safest way as Mender will then ensure that the right images are installed. If you create Mender artifacts with the same name but different machine types, the web UI will show them as a single “Release” but deliver the proper image to each device based on the machine type.

Drew

Hi @drewmoseley,

Thank you for your feedback. Is it possible to have an image with 2 machine types ?

Best regards

Yes, the Mender artifact can support multiple machine types. The mender-artifact write module-image subcommand can take multiple options of --device-type value. The rootfs-image subcommand can as well but obviously you need to be careful with that.

Drew