If you already have a Digi Embedded Yocto version, go to Update Digi Embedded Yocto.
|If you are working with a Docker image, you can skip this step. See Set up Digi Embedded Yocto Docker container on Linux or Set up Digi Embedded Yocto Docker container on Windows for more information on the Docker image for Digi Embedded Yocto.|
Install Digi Embedded Yocto
If this is the first DEY-3.0 installation, follow these steps:
Install the repo tool.
To install Digi Embedded Yocto, you need the repo tool. Download repo to a directory within your path and add execution permissions.
~$ sudo curl -o /usr/local/bin/repo http://commondatastorage.googleapis.com/git-repo-downloads/repo ~$ sudo chmod a+x /usr/local/bin/repo
Create an installation folder.
The installation folder requires user write permissions. For example, create the directory /usr/local/dey-3.0, and navigate to that folder.
~$ sudo install -o <your-user> -g <your-group> -d /usr/local/dey-3.0 ~$ cd /usr/local/dey-3.0
You can use the id command to get your primary user and group.
Use repo to download Digi Embedded Yocto. You have two installation options:
Install Digi Embedded Yocto from the zeus release branch. This allows you to keep up to date with Digi and the Yocto community fixes.
~$ repo init -u https://github.com/digi-embedded/dey-manifest.git -b zeus ~$ repo sync -j8 --no-repo-verify
Use a stable release version. Digi performs extensive validation testing on the Digi Embedded Yocto releases. If you want to use a stable release version, sync your installation with the release tag:
~$ repo init -u https://github.com/digi-embedded/dey-manifest.git -b refs/tags/3.0-r4.1 ~$ repo sync -j8 --no-repo-verify
Update Digi Embedded Yocto
The Digi Embedded Yocto update process is different depending on your current Digi Embedded Yocto version.
Update an existing DEY-3.0 installation
To update a previous DEY-3.0 release, sync your installation with the HEAD of the release branch:
~$ repo init -b zeus ~$ repo sync -j8 --no-repo-verify
Update an existing installation older than DEY-3.0
If you are updating from a previous major release, you must install the new Digi Embedded Yocto release in a new directory. Follow the steps in Install Digi Embedded Yocto to download the new version.
|You must recreate older projects for Digi Embedded Yocto 3.0.|
Get update notifications
You can subscribe to the dey-manifest repository in github to be informed about Digi Embedded Yocto updates.
New Digi Embedded Yocto releases may include things like:
Updates to machine layers and BSPs
Digi Embedded Yocto updates to a new Yocto Project release every year, updating all user space package versions.
Digi Embedded Yocto release notes and changelog are bundled in the README included with the meta-digi layer.