Table of Contents

System upgrade

This page explains system upgrades on KerOS >= v.4 and also:

Introduction

Software upgrade files

The firmware is released in two formats: KerOS and Liveburner. These have very different behavior, so please use the appropriate file before updating, see the difference in upgrade process section.

Major firmware upgrades

From KerOS version 4.3.3 to KerOS version 5.X

To upgrade the system from KerOS version 4.3.3 to KerOS version 5.X the use of a liveburner is mandatory. Two possibilities are available:

From KerOS version 3.x to KerOS version 4.1

The upgrade from KerOS version 3.x to KerOS version 4.1 directly is not recommended by Kerlink. To do so, it must be done in 2 steps:

  1. Upgrade to KerOS version 4.0 using a liveburner
  2. Upgrade from KerOS version 4.0 to KerOS version 4.1 using a KerOS package

From KerOS version 3.x to KerOS version 4.0

To upgrade the system from KerOS version 3.x to KerOS version 4.0 the use of a liveburner is mandatory. Two possibilities are available:

Upgrade process

Upgrade using a KerOS package

Upgrade using a KerOS package (i.e. keros_4.X.Y_klk-lpbs-signed.ipk file) could be done only with the same major version.
Example:

The upgrade will install the new KerOS firmware with some consequences on the data:

The upgrade process itself is the following sequence:

  1. Backup files indicated in configuration (system files and software/customer defined files).
  2. Remove hotfix packages.
  3. Upgrade the system itself.
  4. Restore sysupgrade files ⇒ will override new firmware files!!

To upgrade your system, follow the software update process. Information here.

Upgrade using a liveburner package

The upgrade will install the new KerOS firmware with some consequences on the data:

To upgrade your system, follow the software update process. Information here.

Configuration management (sysupgrade)

Sysupgrade process is available in case of an upgrade using a kerOS package or using a liveburner package.
During an upgrade, the only way to keep system files (network configuration, password…) is to make a backup during the upgrade. This is done by the sysupgrade mechanism.

This mecanism is divided in 2 elements:

By default, the system has a predefined list of configuration files to preserve:

File to download - /etc/sysupgrade.conf

If a specific software also needs to keep configurations between upgrades, it is possible to add a .conf file in the /etc/sysupgrade.d directory:

File to download - /etc/sysupgrade.d/myapp.conf

A specific reporting file is generated when an upgrade is done: /user/.sysupgrade.log.

Hotfix packages management

Hotfix packages are only available for a specific version of the firmware. So in case of upgrade, they will be automatically removed. More information on hotfix package here.