Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add info how to build modular kas #7

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
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
10 changes: 5 additions & 5 deletions docs/getting-started/building.md
Original file line number Diff line number Diff line change
Expand Up @@ -52,16 +52,16 @@ This guide will demonstrate how to build a Zarhus OS image from zero!

## Build

Depending on the features you want to have in your build, pass the desired
`.yml` files via command line. You can read more on that in
[kas documentation](https://kas.readthedocs.io/en/latest/userguide/project-configuration.html#including-configuration-files-via-the-command-line).

From `yocto` directory run:

```shell
$ SHELL=/bin/bash kas-container build meta-zarhus/kas-IMAGE_TYPE.yml
SHELL=/bin/bash kas-container build meta-zarhus/kas/common.yml:meta-zarhus/kas/rockchip.yml
artur-rs marked this conversation as resolved.
Show resolved Hide resolved
```

!!! note

Replace `IMAGE_TYPE` with either `debug` or `prod`.

Image build takes time, so be patient and after the build finishes you should see
something similar to this (the exact tasks numbers may differ):

Expand Down