Skip to content

Deployment View

Infrastructure Level 1

Element Task
Build machine Nix and the image modules produce the image.
Distribution Hashes and signatures are published in the repository; the images themselves are hosted wherever the distributor puts them.
Host Writes the image to the device; for the minimal image, libretoy-dd writes and grows it in one call.
Stick Carries the boot partition and, next to it, the images with their configurations and templates.
Target machine The firmware starts the stick; the images run there.

The partition layout is the user's decision. A BIOS boot partition and an EFI partition are required, both with a configurable size. In many cases a single FAT partition for bootloader, kernel, initrd and images is enough. The filesystem of the image partition is a configuration option as well.

A persistent system on the remaining space is not part of LibreToy; the distributions and deployments that install one are responsible for it. They can embed the contents of their root partition into a LibreToy image with mkLibreToyImage. LibreToy's own deliverables, the minimal image and the full image, come from the same builder; it provides the declarative partition table, the bootloader and, optionally, further LibreToy features.