It is currently possible to update the ORxPi system simply by dropping a single update file into the first partition on the SD card. While this is pretty good, there are cases where it doesn’t quite work. Namely, the configuration folder at /opt/orx
is persistent, and if the update supplies changes to these files, there are bound to be conflicts.
Example, we have a change to /opt/orx/interfaces (network config) that changes the way DHCP is handled. This file also exists on your SD cards right now. If the new one is not copied over the (possibly modified) copy on your SD card, then the DHCP feature will not be activated.
Solution for this could be to:
a) keep existing persistent configuration and save updated ones with .new
extension next to them, and then you could identify it and manually copy it over the old one or copy portions of it if you have modifications
b) keep new ones, and save existing ones with .old
extension, and then manually cherry-pick your mods to the new file
c) something else?
Any comments? Suggestions?