Drop into a kas-container shell for the project, or run a single command inside it.
bakar shell [KAS_YAML] [OPTIONS]
| Flag | Short | Description |
|---|---|---|
--command |
-c |
Run a single command instead of an interactive shell |
--manifest |
-f |
Manifest filename for BSP family dispatch |
--workspace |
-w |
Workspace root override |
--host (bypass kas-container, run plain kas shell on the host) is a global option, so it goes before the subcommand: bakar --host shell .... Placing it after shell is rejected by the CLI parser.
# Interactive shell - manifest-driven NXP
bakar shell -f imx-6.12.49-2.2.0.xml
# Interactive shell - BYO kas YAML
bakar shell my-project.yml
# Run a single command: clean sstate for one recipe
bakar shell -f imx-6.12.49-2.2.0.xml -c "bitbake -c cleansstate linux-imx"
# Inspect the bitbake configuration inside the container
bakar shell -f imx-6.12.49-2.2.0.xml -c "bitbake -e | grep ^BB_TASKS_SCHEDULER"
# Investigate a parse failure (bitbake -p parses all recipes)
bakar shell -f imx-6.12.49-2.2.0.xml -c "bitbake -p 2>&1 | tail -30"
# Host mode - no Docker, runs kas shell directly (--host is global: before the subcommand)
bakar --host shell -f imx-6.12.49-2.2.0.xml -c "bitbake -c cleansstate glibc"- Positional YAML and
--manifestare mutually exclusive. - Shell sessions are recorded in
<bsp_root>/build/runs/<ts>/like builds; usebakar logto inspect them.
- build.md - full build pipeline
- prefetch.md - runs
bitbake --runall=fetchinside the kas environment