Upgrading to a new release - openmiko/openmiko GitHub Wiki

Check current running version

Check the current version when connected via SSH:
cat /etc/VERSION
The output will be a CRC hash. Check it against the values in the releases page..

Example:

24ca9d2

24ca9d2 is the hash for version 0.40.

Upgrade to another release

Upgrade to another release by downloading the upgrade script, adding execute permissions to the script, and running the script.

Download the script:
curl https://raw.githubusercontent.com/openmiko/openmiko/master/overlay_minimal/usr/bin/upgrade_openmiko.sh > upgrade_openmiko.sh
Note: The download will fail with errors about signatures if your device's clock is not set to a reasonable date and time.

Add execute permissions:
chmod +x upgrade_openmiko.sh

Run the script. The release version must be specified. For version 0.40 use:
upgrade_openmiko.sh v0.0.40

The upgrade will take a while. You must manually reboot for it to take effect.