Skip to content

RidgeRun/kas-practical-tutorial

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 

Repository files navigation

training-kas

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.

Repository layout

  • kas/base.yml: shared project configuration (poky, kirkstone, core-image-minimal)
  • kas/qemu.yml: includes base.yml, sets qemux86-64, enables debug-tweaks, and sets parallel build values
  • poky/: Yocto Project source tree used by the kas configs
  • build/: generated build output directory

Prerequisites

Install kas (for example with pip):

python3 -m pip install --user kas

Depending on your Linux distribution, you may also need Yocto host dependencies (compiler toolchain, Python modules, etc.).

Recommended workflow

Inspect the resolved configuration:

kas dump kas/qemu.yml

Build the image:

kas build kas/qemu.yml

Open a shell in the configured build environment:

kas shell kas/qemu.yml

Run the image in QEMU:

kas shell kas/qemu.yml -c "runqemu qemux86-64 nographic"

Notes

  • The target is core-image-minimal (defined in kas/base.yml).
  • Parallelism is currently pinned to 8 threads in kas/qemu.yml.
  • Build artifacts are written under build/.

About

Hands-on tutorial for performing a first Yocto build with kas, covering configuration, environment setup, and workflow fundamentals.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors