
CT650 Manual
Simple application updating
Before the CT650 starts the application, it checks for an update file located at
/update/updateapp.tar.xz. If the file is present, it will extract the archive into the /app directory
before starting the application.
After extracting the archive, if a script called PostProcess is found in the /app directory it will run
this script before completing the update. After running the script it will delete the PostProcess
script so it only runs once.
Once the update is complete it will rename the updateapp.tar.xz archive to updateapp.old.tar.xz
This method requires the application to detect, get, decrypt (if desired), check signatures (if
desired), and place the final update file in the /update directory. The application then exits itself,
the update happens and the new application starts.
While it is possible to update the Linux kernel and a replace the complete root file system using
this method, those major updates are better handled by swupdate.
Swupdate updating
Using swupdate, anything on the system can be updated from a single file to the complete system
image.
https://docs.updatefactory.io/devices/linux/update-files/
Issues
None
26
© 2020 Dyacon, Inc