Skip to main content

Module paths

Module paths 

Source
Expand description

Single source of truth for every well-known file and cache-group name: installer artifacts, per-VM state files, portable-tree layout, cache groups. Renaming means editing here — a literal for one of these names anywhere else silently splits old/new state (a renamed file the code can’t find, a cache group that orphans gigabytes).

Deliberately NOT here: socket names (already in crate::ipc), version pins (crate::pins), guest-arch mappings like firmware and OpenSSH zip names (data belonging with the arch table in crate::unattend), and include_str! source paths (must stay literal). Tests keep literals on purpose: they guard these values. Help text in main.rs repeats names for humans; those are docs.

Constants§

DISK_IMAGE
Boot disk run boots and install writes.
DRIVERS_STAGE_DIR
Stage subdir for an explicit --drivers-dir tree.
FALLBACK_QEMU_CACHE
FALLBACK_UNATTEND_DIR
FALLBACK_VM_DIR
FALLBACK_WINUSB_IMAGE
INSTALL_LOG
Installer QEMU’s stdout/stderr capture.
ISO_GROUP
LIVE_OVERLAY
LIVE_STATE_FILE
Live-snapshot companions (all inside the VM dir, all removed when an install voids them): migrated RAM + device state, the VARS backup taken at the same instant (raw pflash is outside every snapshot), and the overlay that has held post-save writes since the pivot.
LIVE_VARS_BACKUP
MARKER_LINUX_AARCH64
MARKER_LINUX_X86_64
MARKER_MACOS_ARM64
Host-asset markers selecting the per-platform archive (and its pinned hash in crate::pins). Single source of truth: asset_for_host and the pin lookups both match on these — never retype the literals.
MEDIA_GROUP
PART_TXT_PATH
Partition script inside the installer USB tree.
PORTABLE_BIN_DIR
Binary dir inside an extracted tree.
QEMU_ASSET_PREFIX
Asset name prefix selecting this host’s QEMU archive in a release.
QEMU_GROUP
QEMU_IMG_NAME
qemu-img binary name (sentinel proving a QEMU tree is extracted).
QEMU_INNER
Extracted tree dir name (<group>/<tag>/qemu-portable), for QEMU…
QEMU_PIDFILE
QEMU pidfile: written on launch, removed by stop.
SHA256SUMS_FILE
Checksum sheet published next to release assets.
TOOLS_DIR
Driver/tools dir inside the installer USB tree.
UNATTEND_XML
Answer file at the installer USB root and in gen output dirs.
VARS_FILE
Guest NVRAM copy, seeded from the portable firmware template.
VIRTIO_ISO
VirtIO driver ISO (vendored release asset, ISO cache, USB staging).
VIRTIO_ISO_SHA256
Hash sidecar next to the virtio release asset.
VM_GROUP
WIMLIB_ASSET_PREFIX
Asset name prefix selecting this host’s wimlib archive in a release.
WIMLIB_GROUP
WIMLIB_IMGX_NAME
wimlib-imagex binary name (sentinel proving a wimlib tree is extracted).
WIMLIB_INNER
…and wimlib.
WIN11_ISO_NAME
Windows 11 retail ISO filename used by the fetch chain. Proven media is retail (Windows11_Client_*); non-retail (Enterprise/OEM) media has never been exercised (see README “Not tested”).
WINUSB_IMAGE
USB installer image inside the media group.