Make VM images - mirror
Find a file
Till Wegmueller 19c8379fc6
Add builder VM support for cross-platform and unprivileged builds
Introduce the forge-builder crate that automatically delegates builds to
an ephemeral VM when the host can't build locally (e.g., QCOW2 targets
without root, or OmniOS images on Linux). The builder detects these
conditions, spins up a VM via vm-manager with user-mode networking,
uploads inputs, streams the remote build output, and retrieves artifacts.

Key changes:
- New forge-builder crate with detection, binary resolution, VM lifecycle
  management, file transfer, and miette diagnostic errors
- BuilderNode added to spec-parser schema for per-spec VM config
- --local and --use-builder CLI flags on the build command
- Feature-gated (default on) integration in forger CLI
- Fix ext4 QCOW2 grub-install failure by using absolute paths in chroot
- Improve debootstrap to pass --components and write full sources.list

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-15 17:17:30 +01:00
crates Add builder VM support for cross-platform and unprivileged builds 2026-02-15 17:17:30 +01:00
images Add Ubuntu/apt support, ext4 QCOW2 builds, and OCI artifact push 2026-02-15 16:29:12 +01:00
.gitignore Initial implementation of refraction-forger 2026-02-15 15:30:22 +01:00
Cargo.lock Add builder VM support for cross-platform and unprivileged builds 2026-02-15 17:17:30 +01:00
Cargo.toml Add builder VM support for cross-platform and unprivileged builds 2026-02-15 17:17:30 +01:00