I know that OTA updating for Linux can be a complicated topic and that there are ready-made solutions out there.
I'm talking in terms of using an embedded computer running Linux such as a Rasberry Pi or Beaglebone.
It first involves partitioning the flash memory of the device to suit the over-the-air update mechanism such has having fall-back partit
However, is it possible to even re-partition a device over-the-air later?
My use case is, I wish to deploy devices in the field now, knowing that later the partitioning of the device may completely change due to a new system being created and that I have no physical access to the device.
An idea is to perhaps deploy my image with a separate partition to store some partitioning scripts that may be loaded and executed there later.
Is this even at all possible, or am I missing something obvious that says , this can't work ?
sshd
which would prevent you from ever remoting on again. If you set up your partitions in a manner that works the first time why would you need to change it while the system is running? – kemotep Feb 22 '19 at 13:46