Skip to content
AI Learning Ground Start learning

News ·

From Thin Air to Bootable Images: The Tine Build System

The tine project, a Buck2-based build system, was introduced and published. It produces reproducible rpm, Go and Rust builds plus bootable OS and sysext images with minimal host dependencies.

Amutable blog post
Image: Hacker News

A team has published tine, a new open source build system built on Buck2, Meta's build engine. It is designed for building operating systems with cryptographically verifiable integrity, producing reproducible builds of rpm packages, Go and Rust components, and bootable images from a minimal host environment.

Tine targets a specific set of requirements: hermetic, bitwise reproducible builds; full control over pinned inputs with support for upstream distributions like Fedora, CentOS, Arch and Debian; cheap full-world rebuilds, for example after a gcc update; native concurrent building of bootable images and systemd sysext images; and caching so unchanged components come from local or global caches. It supports monorepo-based iteration, so a change to an imported rpm or a Go or Rust component can be built and tested across all images without intermediate commits. Built images work with standard SBOM and security scanning tools such as syft/grype and trivy.

The team evaluated alternatives before building tine. mkosi, whose maintainer is on the team, was judged too image-focused and framework-like, offering only opaque hooks for non-image builds. OBS requires a non-trivial, central server and is not a generic build system. BuildStream depends on host Python, helper programs and sandboxing tools with mixed pinning mechanisms, and its YAML format encourages copy-paste extension. Antlir, Meta's Buck2-based image builder, is too opinionated for external use, requiring btrfs and a single monorepo layout. For builders working with AI-assisted tooling, tine offers a self-contained, hermetic pipeline where every input is pinned and outputs are reproducible, which simplifies verifying that a built artifact matches its source exactly.

References

Read the full story at Hacker News ↗Like, save or discuss on Buzz

#community #signals