Where does mender-client save the incoming download? My rootfs is read-only; only the data partition is read-write. I’m assuming it writes somewhere to the data partition? If so, where?
Thanks for your reply. I can understand that with the rootfs update but what about custom update module like firmware to microcontrollers in the system?
For example I’m writing a update module to program my stm32 micro. Where is the argument FILES pointing to?
Sorry i dont use update modules myself, so don’t have first hand experience of using them, however a quick bit of github detective work looks like the modules working directory is relative to the mender datastore, of which the datastore is on the data partition by default but is configurable.