table of contents
KAS-SHELL(1) | kas | KAS-SHELL(1) |
NAME¶
kas-shell - kas shell plugin
This plugin implements the kas shell command.
When this command is executed, kas will checkout repositories, setup the build environment and then start a shell in the build environment. This can be used to manually run bitbake with custom command line options or to execute other commands such as runqemu.
For example, to start a shell in the build environment for the file kas-project.yml you could run:
kas shell kas-project.yml
Or to invoke qemu to test an image which has been built:
kas shell kas-project.yml -c 'runqemu'
usage: kas shell [-h] [--skip SKIP] [--force-checkout] [--update] [-E] [-k]
[-c COMMAND]
[config]
POSITIONAL ARGUMENTS¶
- config
- Config file(s), separated by colon. Using .config.yaml in KAS_WORK_DIR if none is specified.
NAMED ARGUMENTS¶
- --skip
- Skip build steps
Default: []
- --force-checkout
- Always checkout the desired commit/branch/tag of each repository,
discarding any local changes
Default: False
- --update
- Pull new upstream changes to the desired branch even if it is already
checked out locally
Default: False
- -E, --preserve-env
- Keep current user environment block
Default: False
- -k, --keep-config-unchanged
- Skip steps that change the configuration
Default: False
- -c, --command
- Run command
Default: ""
KAS¶
Part of the kas(1) suite.
AUTHOR¶
Daniel Wagner, Jan Kiszka, Claudius Heine
COPYRIGHT¶
Siemens AG, 2017-2024
April 10, 2024 | 4.3.2 |