Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Unify incus container image build tasks (flakes-p8hf)

StatusDone
TypeTask
Prioritynormal

Replace per-container build-image/build-metadata/build-and-import tasks with a single parameterized task that builds image+metadata and imports directly without staging in images/

Summary of Changes

Replaced 9 per-container tasks (build-yolo-image, build-yolo-metadata, build-and-import-yolo, and equivalents for spacebot/hermes) with a single mise run build-container <name> task.

  • Uses usage field with KDL choices for shell auto-complete (covers all 5 containers)
  • Builds metadata + image sequentially, resolves nix store paths directly from result symlink
  • Pipes both tarballs straight to incus image import — no images/ staging directory needed
  • Removed images/ directory entirely