Kevin Welsh Posted April 20, 2016 Posted April 20, 2016 I'm looking for experience / ideas around an update system. I could pull source from GitHub. I could package up zips, pull them with wget, unzip and overwrite files in the file system with the contents of the zip. Maybe include a script_pre.sh and script_post.sh to run before and after the file copy/replace routine. Any other ideas, suggestions, frameworks?
Igor Posted April 20, 2016 Posted April 20, 2016 Updating what? What's wrong with current updating system?
Kevin Welsh Posted April 20, 2016 Author Posted April 20, 2016 Oh, sorry that I wasn't clear. Updating custom code running on the system on remote devices.
Igor Posted April 21, 2016 Posted April 21, 2016 If you use Debian based distro, pack thing into .deb files and create repository. On others use theirs default packaging system. It's designed for such work ... perhaps it's not noob easy but it's a right way to do it.
Recommended Posts