github.com/simpleiot/simpleiot@v0.18.3/docs/user/update.md (about)

     1  # Update
     2  
     3  The Simple IoT update client facilitates updating software. Currently, it is
     4  designed to download images for use by the
     5  [Yoe Updater](https://github.com/YoeDistro/yoe-distro/blob/master/docs/updater.md).
     6  The process can be executed manually, or there are options to automatically
     7  download and install new updates.
     8  
     9  <img src="assets/update.png" alt="updater ui" style="zoom:50%;" />
    10  
    11  There are several options:
    12  
    13  - **Update server**: HTTP server that contains the following files:
    14    - files.txt: contains a list of update files on the server
    15    - update files named: `<prefix>_<version>.upd`
    16      - _version_ should follow [Semantic Versioning](https://semver.org/):
    17        `MAJOR.MINOR.PATCH`
    18      - _prefix_ must match what the updater on the target device is expecting --
    19        typically host/machine name.
    20  - **Prefix**: described above -- typically host/machine name. This is
    21    autodetected on first startup, but can be changed if necessary.
    22  - **Dest dir**: Destination directory for downloaded updates. Defaults to
    23    `/data`.
    24  - **Chk interval**: time interval at which the client checks for new updates.
    25  - **Auto download**: option to periodically check the server for new updates and
    26    download the latest version.
    27  - **Auto reboot/install**: option to auto install/reboot if a new version is
    28    detected and downloaded.