I am trying to set a static IPv4 address in a running mender-yocto. To set it up isn’t the problem but how can I make it persitent so it is used by the second rootfs after a mender update? The problem is that it has to be edited while the System is running and not before baking the yocto Image.
The simple way of solving this, is to make sure that any configuration file that you want to persist across updates, is linked to the /data partition and what is in your rootfs is only symlinks.
There are other ways of doing this with union filesystems but that is a bit more complicated.