I have the following (seemingly simple) update strategy in mind for my project:
- Download the latest version of the app whenever it’s available
- Keep running the older version of the app to avoid downtime / interruption
- Next time the device is rebooted or power-cycled (that’s up to the end user), the updated app should be run instead of the old one. The old app / image can now be deleted.
Is it possible to get this behavior using one of the built-in update strategies ? I think the answer is no (unless I implement an unnecessarily complex
download-then-kill (default strategy) plus update-locking a better way to go about it ? If so, could you please point me in the right direction ? Thanks