Practical tutorial repository for learning a Yocto workflow through kas.
This project is intentionally small: it provides kas configuration files and a poky checkout so you can build core-image-minimal for QEMU without manually setting up a BitBake build directory.
kas/base.yml: shared project configuration (poky,kirkstone,core-image-minimal)kas/qemu.yml: includesbase.yml, setsqemux86-64, enablesdebug-tweaks, and sets parallel build valuespoky/: Yocto Project source tree used by thekasconfigsbuild/: generated build output directory
Install kas (for example with pip):
python3 -m pip install --user kasDepending on your Linux distribution, you may also need Yocto host dependencies (compiler toolchain, Python modules, etc.).
Inspect the resolved configuration:
kas dump kas/qemu.ymlBuild the image:
kas build kas/qemu.ymlOpen a shell in the configured build environment:
kas shell kas/qemu.ymlRun the image in QEMU:
kas shell kas/qemu.yml -c "runqemu qemux86-64 nographic"- The
targetiscore-image-minimal(defined inkas/base.yml). - Parallelism is currently pinned to 8 threads in
kas/qemu.yml. - Build artifacts are written under
build/.