All Systems Go! 2026

Building image-based operating system images with BuildStream and mkosi
2026-10-01 , Galerie

BuildStream is a tool for building / integrating software stacks. In a way, it has a similar goal to bitbake / yocto and Android's repo, but takes a completely different approach. It can be used to take software from various sources, build it with various buildsystems in a reproducible sandbox, and cache results for speedy rebuilds.

mkosi is a tool for easily building customized OS images. It is generally used with distros that have a package manager such as dnf or apt. There is however recent development to add support for using it with BuildStream.

In this talk I give a brief overview of Buildstream, and freedesktop-sdk which is a BuildStream project that can be used as a base to build your own operating system. While BuildStream on its own can build the whole thing, there are some advantages to using mkosi which I'll go over in this talk.

I'll also go over the challenges faced moving GNOME OS to use mkosi for generating the image.

Software engineer at Codethink, Abderrahim also maintain a few open source projects such as GNOME OS and BuildStream.