KAS
KAS is a tool for managing layer repositories, configuration, and build environments for Yocto/OE builds. It is the recommended approach for new Yoe projects (see Superproject Management for background).
Getting Started
KAS configurations live in the kas/ directory. Each YAML file defines a
complete build for a target machine, including layer repositories, local.conf
settings, and bblayers.conf entries.
Available configurations:
jetson-agx-orin-devkit.ymljetson-orin-nano-devkit-nvme.ymlrpi4-64.ymlvisionfive.ymlvisionfive2.yml
Running a Build
To set up a container and drop into a shell ready for bitbake:
cd kas/
./kas-container \
--runtime-args "--volume ./../sources/meta-yoe:/work/layers/meta-yoe" \
--ssh-dir ~/.ssh \
shell jetson-agx-orin-devkit.yml
The --volume flag mounts the local meta-yoe layer into the container so that
local changes are available in the build.
Once inside the container shell, run bitbake as usual:
bitbake yoe-simple-image
Local Configuration
To add machine-specific or user-specific settings without modifying the
checked-in YAML files, create kas/local.yml (git-ignored) and append it when
invoking KAS:
./kas-container <...> <target>.yml:local.yml