Context and Scope¶
Business Context¶
| Partner | Exchange |
|---|---|
Upstream (nixpkgs, grub-iso-multiboot) |
Components at build time. |
| Build, done by the CI or by the user | Builds an image from the sources. |
| User who flashes | Writes an image to a stick, either self-built or a published artifact, and boots images from it. |
| Distribution mirrors | Supply the ISO files; LibreToy references them by URL and hash. |
| NixOS-based distributions (InfOS, yoloOS, nixos-genode-hybrid) | Supply the contents of a root partition and build their images with mkLibreToyImage, the builder behind the minimal image and the full image; it provides the declarative partition table, the bootloader and optional LibreToy features. |
Hashes and signatures come from the maintainers, not from the CI or the distributor. Whoever uses a published artifact instead of building it should verify it against the maintainers' hashes and signatures, so the distributor does not have to be trusted.
Technical Context¶
| Channel | What flows |
|---|---|
| Firmware, BIOS or UEFI | Starts GRUB. |
| Stick as a block device | Images, configurations and templates. |
| Network in the initrd | Images from the catalog and the current upstream flake. |
| Host operating system | Writes the image to the device: depending on the image type, any tool can be used, or libretoy-flash is recommended. |
| Target machine | The started images run there. |
Scope¶
LibreToy is not a distribution. It hosts no ISOs and keeps no persistent system on the stick. The contents of a root partition come from the NixOS-based distributions that use it.