Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ workspace/*
logs/
files.txt
kas/local.yml
layers
kas/build
kas/layers
.kas_shell_history
.vscode
17 changes: 16 additions & 1 deletion docs/kas.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,22 @@

KAS is a tool to manage metadata and build environments for Yocto/OE builds: https://github.com/siemens/kas

To run KAS in Yoe Distro, use the kas/ subfolder as the working directory. This directory contains KAS configurations for each
supported target machine at the top level. Once the `kas-container` script is run in the kas/ folder, it will also contain the
build/ and layers/ folders.

To set up a docker container ready to run bitbake commands:
```bash
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 is passed to docker through the kas-container `--runtime-args` flag and mounts the local meta-yoe layer in the container's layer/ directory for use in the build.

To have local configuration, create kas/local.yml (git ignored) and append it to the project configuration when invoking KAS:
```bash
./kas-container <...> kas/myproject.yml:kas/local.yml
./kas-container <...> <target>.yml:local.yml
```
6 changes: 2 additions & 4 deletions kas/include/base.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,8 @@ header:
distro: "yoe"

repos:
yoe-distro:
path: .
layers:
sources/meta-yoe:
meta-yoe:
path: layers/meta-yoe

openembedded-core:
url: https://github.com/YoeDistro/openembedded-core
Expand Down
File renamed without changes.