Software update
The integrated package is updated with a single click (or API call). By completely overwriting the system partition from a recovery partition, updates are quick and reliable.
Feature updates are released on regular basis, and patches when necessary. There’s an RSS feed on the changelog page. Please see the release notes before updating.
Performing an update
See the software update guide for instructions.
Technical description
Under the hood, the complete software update cycle consists of the following steps:
Download is requested by the API call updateDownloadStart
The updated process queries dl.halon.se for software update information and downloads the update file (tarball) to /storage/halonrecoveryimage and verifies it according to the public key
Installation is requested by the API call updateInstall
The updated process writes an update instruction file to /cfg
The system reboots
The boot loader detects the update instruction file, and boots the recovery partition and
Reads the update instruction file and start in non-interactive mode
Mounts the disk specified in the update instruction
Checks so that the specified update file exists
Erases the system partition
Extracts the update file to the system partition
Removes the update instruction file
Reboots
The system returns to normal operation, using the new software release
The backend process upgrades the configuration if necessary, changing its format
The backend process upgrades the database if necessary, which can take some time depending on size