The release of Mender client 2.2 made it necessary to add some migration scripts to our Yocto conf files for backward compatibility. We now need to add the following code:
IMAGE_INSTALL_append = " mender-migrate-configuration" PACKAGECONFIG_remove = "split-mender-config" MENDER_PERSISTENT_CONFIGURATION_VARS = "RootfsPartA RootfsPartB" MENDER_ARTIFACT_EXTRA_ARGS_append = " -v 2"
Is this idempotent ? Can this remain in our Yocto conf files even after the jump from Thud to Warrior ?
The rationale is a lot of our Mender-enabled devices can stay offline for a very long time. If we want the ability to deploy Mender updates that can work for all of our devices — regardless of how up-to-date they are — it’s important that our artifacts can be deployed safely regardless of the system they currently run.
Side note: couldn’t the Mender client have handled this migration automatically & without additional config ?