Introduction
This article describes how to perform local Torizon updates using only your PC and a Maivin unit. These instructions refer to Torizon for Maivin, adjust accordingly for customized Torizon for PRODUCT builds based on the Maivin Platform.
Note: this article is intended for custom deployments of Torizon for Maivin built with Yocto. For instructions on updating to official Torizon for Maivin releases from Au-Zone refer to Updating Torizon for Maivin.
Requirements
- Windows, Linux, or Mac with Docker
- Download torizon-deploy script from the Downloads section.
- torizon-deploy.sh for Linux or Mac
- torizon-deploy.bat for Windows
- Download TEZI archive from the build server.
- Optional: download tcbuild.yaml from the build server.
- Feel free to rename this file or modify your local version.
Instructions
Download the Torizon for Maivin TEZI file from Jenkins (TODO: this need to be updated to public locations before article is made public).
- torizon-core-maivin-Tezi_6.3.0.1.tar
- tcbuild.yaml
You will also need a tcbuild.yaml file which configures file names. One is provided along with the .tar file but you can also customize your own. Here's an example content of the yaml file.
input:
easy-installer:
local: torizon-core-maivin-Tezi_6.3.0.1+build.1.tar
output:
easy-installer:
local: torizon-core-maivin-6.3.0.1
ostree:
branch: 6.3.0.1
Download the "torizon-deploy.sh" script below and upload it to your Linux machine. Set it to executable mode with the following command:
chmod +x torizon-deploy.sh
Now run the torizon-deploy script to update Torizon and reboot your target. You will need the IP address, username, and password for the unit. -p is for the password.
sudo ./torizon-deploy.sh -p 1 IPADDRESS
Parameters
The following parameters are available, if not provided the default is used. The IPADDRESS must always be provided.
- --config for the tcbuild configuration (default: tcbuild.yaml)
- --username (default: torizon)
- --password (default: torizon)
Downloads
The scripts live in the Bitbucket Snippet Torizon Local Deployment Scripts.
Windows script is not yet available but the torizon-deploy.sh does work with WSL2.
Comments
0 comments
Please sign in to leave a comment.