Further to this discussion, I’m currently attempting to use Mender to update my flash storage.
In my setup, I’m loading a rootfs from flash and booting from RAM, so that my
mount looks like:
$ mount /dev/ram0 on / type squashfs (ro,relatime)
This seems to confuse the Mender client as it believes it needs to update
/dev/ram0 rather than
/dev/ubi0_x (for example). Looking at the mender source code this makes sense, as mender first looks at the
mount output to determine the device to update.
Has anyone had any success telling Mender to update a device other than the root device? This seems like it might be a candidate for update modules but, imo, update modules seem like they might be a bit of overkill as a config setting or environment variable could also fulfill the same need. Is there any easier method I’m missing?