Eclogite Linux: machines from intent - reproducible VM and device images from JSON

Building a small Linux system usually means a pile of scripts, a half-remembered kernel config and a build environment that only works on one laptop. Six months later nobody can say exactly what went into the image.

Eclogite Linux is my take on fixing that. You describe the machine and the software in reviewed JSON, and Eclogite validates the combination, resolves every input, builds it in a controlled environment, and produces an immutable result: a self-contained bundle for a VM, or an image for a physical device.

Alpha. Eclogite is in active development, so interfaces, schemas and catalog definitions may change.


Two inputs, one system

Hardware sizing and device topology don’t belong in package selection, so Eclogite keeps them apart and reusable:

One small system file links the exact pair you want:

{
  "schema": "eclogite.system/v0.1",
  "name": "utm-arm64",
  "machine": "utm-arm64",
  "software": "minimal"
}

Bare names resolve to predefined catalog objects. Relative paths such as "./my-machine.jsonc" resolve from the system file, so the same definition works from any directory. Before building, a compatibility gate checks that the machine and software platforms match and that required devices are present. There are no hidden runtime overrides.


Choose, review, build once

eclogite plan   --config system.json
eclogite create --config system.json --fetch

Every command consumes the same file. The lock records canonical objects and hashes before any builder runs. Schema validation, meta-package expansion, cycle detection, platform selection and input hashing all finish first, so a bad combination fails early instead of halfway through a build.

For a virtual target, a QEMU or UTM profile produces a self-contained bundle: images, runtime metadata and a vm.sh that runs the VM (validate, run, console, status, stop). For a physical board, you get the boot files, filesystem image, manifest and provenance, and Eclogite doesn’t pretend the board is a VM.


The build room

The host coordinates and the VM builds. The host compiler is never part of a package build. Eclogite boots one pinned development image, mounts one exact target toolchain read-only, and runs each package’s builder offline inside that boundary. Each result is a layer with a manifest, hashes and provenance.

Remote layers are only accepted after four checks: the exact input key, an immutable OCI digest, manifest and content hashes, and a trusted workflow attestation. A missing or rejected layer never weakens the policy; it becomes a local offline build in the same runtime.


Design stance


Where it is

The catalog currently has 18 buildable software units, 6 reusable software groups, 6 machine profiles and 2 software profiles, which together give 3 ready machine and software pairs. The site has pages for the package catalog, machine profiles and the documentation, and the first example (an arm64 VM for UTM) is a good place to start.