This site has been retired. For up to date information, see handbook.gnome.org or gitlab.gnome.org.


[Home] [TitleIndex] [WordIndex

OSTree Overview

This is intended as an general overview of OSTree, and it is intended as a starting point to understand how it works from a general perspective.

About OSTree, and its goals

OSTree is a set tools which allow to manage multiple entire file system trees and store them efficiently. The main goals are:

One can think about OSTree as a “Git-like tool for storing entire snapshots of an operating system”.

Other duties

Alongside with OSTree comes ostbuild, a build tool (which ideally would supersede Jhbuild at some point), and which is aware of how to add contents to OSTree repositories. This means that it is able to build a certain GNOME module and add the resulting files to an OSTree-managed file system.

Real life usage

The description above may sound vague, so let us see some concrete real-world benefits of OSTree. It enables to do things like those:

How does Yocto fit in the whole picture?

Yocto is used for bootstrapping and for populating the trees with the basic packages that conform a base GNU/Linux system. Once a base system is ready, “ostbuild” is then used to build the GNOME packages and adding them to a tree.


2024-10-23 11:37