Adding a New System Container to the Edge OS Image
Procedure
- System containers are added to the Edge OS image using specific BitBake recipes that download the container’s compressed tarball and copy it to the Edge OS build directory.
- To add a new system container you must first upload the container’s compressed tarball to an HTTP repository, such as Artifactory, and create a new recipe that refers to the repository’s URL. The new recipe needs to be included as a dependency within the recipe _packagegroup-containers_.packagegroup-containers.bbpappend
RDEPENDS_${PN}_append = " \ your-new-system-container \ "
- The new recipe must be saved either in the same layer as the other system containers, or in a new layer that has a higher priority than meta-edge-predix.
- The new system container tarball will be located in the /opt/system-containers directory of the Edge OS image. It will be automatically loaded by the sc-loader service when the system starts up.