We are using Mender on an iMX6 on Pyro branch of Yocto. Everything works fine. We use it in standalone mode.
We decided to move to Warrior branch recently. I have ported everything and it also works fine.
I recently tried to update from Pyro to Warrior, but I ran through an error:
mender -rootfs complete-image.mender
INFO Start updating from local image file: [complete-image.mender] module=rootfs Installing update from the artifact of size 83808768
ERRO Installation failed: installer: failed to read and install update: will not install artifact with state-scripts when installing from cmd-line. Use -f to override module=rootfs
ERRO installer: failed to read and install update: will not install artifact with state-scripts when installing from cmd-line. Use -f to override module=main
I tested with the -f flag, it worked. But our Pyro based image is already in production, and we don’t want to modify it just to add this flag, in order to update to the warrior based image. (2 updates in a row).
Is there a way to modify the Warrior based artifact to avoid this error? I never used state-scripts with mender, so I don’t know how it works.