class

Bootstrap::Qcow2

Inherits Reference < Object

Basic qcow2 wrapper that validates tools and triggers image builds.

The long-term plan is to orchestrate qcow2 assembly via Crystal-only tooling and the sysroot namespace workflow.

Constructors

new(filename : String)

Create a new qcow2 helper for the provided filename.

Source

Class methods

exec(command : String, args : Array(String) = [] of String, chdir = "./data")

Run a command, logging stdout/stderr, and return true on success.

Source
exec!(command : String, args : Array(String) = [] of String, chdir = "./data")

Run a command and raise when it fails.

Source
findExe?(exeName : String)

Return true when exeName resolves to an executable on PATH.

Source
test

Placeholder for future integration test orchestration.

Source

Instance methods

checkDeps

Check whether required dependencies and local fossils are available.

Source
fetchData

TODO: Add method to fetch data files Placeholder for future data-fetch orchestration.

Source
genQcow2

Build a qcow2 image using the legacy Docker pipeline while the Crystal-first orchestration is still being built out.

Source