Build the Image

This section provides step-by-step instructions for setting up the workspace and starting the image build process.

Note

The build process may take a while, depending on your system’s resources.

Initialize the Workspace

Create a new directory and clone the repository.

mkdir genio
cd genio
git clone https://github.com/grinn-global/meta-grinn-genio.git

Build the Default Image

To build the default image, execute the following command in the terminal.

KAS_MACHINE=grinn-genio-700-evb \
kas-container build meta-grinn-genio/kas/default.yml

After the build completes, verify that the image was created by checking the output directory.

ls build/tmp/deploy/images/grinn-genio-700-evb

Build the NDA Image

The default image excludes components that require an NDA. As a result, it provides only a limited feature set.

To enable access to the NDA repositories, follow GitLab Account Setup.

After generating your access token and updating the .netrc file, you can build the NDA-enabled image by running the command below.

KAS_MACHINE=grinn-genio-700-evb \
NETRC_FILE=~/.netrc \
kas-container build \
meta-grinn-genio/kas/default.yml:meta-grinn-genio/kas/nda.yml

This image will be generated in the same directory as the default image.