Skip to content

Latest commit

 

History

History
47 lines (32 loc) · 1.44 KB

File metadata and controls

47 lines (32 loc) · 1.44 KB

bakar dump

Flatten the kas YAML plus tuning overlay into a single resolved YAML.

Runs kas dump on the build-YAML-plus-overlay argument. Useful for inspecting exactly what kas will receive before running a build, or for passing the resolved config to external tools.

Synopsis

bakar dump [KAS_YAML] [OPTIONS]

Options

Flag Short Description
--manifest -f Manifest filename for BSP family dispatch
--output -o Write the resolved YAML to this path (default: stdout)
--workspace -w Workspace root override

Examples

# Dump the resolved config to stdout
bakar dump -f imx-6.12.49-2.2.0.xml

# Dump for a BYO build
bakar dump my-project.yml

# Save to a file for inspection
bakar dump my-project.yml -o /tmp/resolved.yml
cat /tmp/resolved.yml

# Pipe to yq for targeted queries
bakar dump my-project.yml | yq '.repos | keys'

Notes

  • dump uses an ephemeral run directory so it does not pollute build/runs/.
  • The output reflects the merged kas YAML plus the bakar tuning overlay. This is the exact config that bakar build would pass to kas-container.
  • Without --output, the resolved YAML is printed to stdout. All other bakar output (progress lines) goes to stderr, so piping works cleanly.

See also

  • gen-kas.md - generate the topology-only kas YAML (input to dump)
  • build.md - the full pipeline that uses this config