Build the Image

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

Initialize the Workspace

Create a new directory and clone the repository.

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

Build the Image

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

KAS_MACHINE=grinn-astra-1680-sbc \
kas-container shell meta-grinn-astra/kas/default.yml \
-c "sudo ln -sf /bin/bash /bin/sh && bitbake astra-media"

Note

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

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

ls build/tmp/deploy/images/grinn-astra-1680-sbc