Find a new ISO generator
The current ISO generator that we make use of is only compatible with Fedora Atomic. The idea is that we are going to be updating the bluebuild system to be able to work with multiple distros, not just Fedora. Here are some basic requirements that we're looking for:
- able to run locally
- has a live option
- allows pre-installing flatpaks
- doesn't require downloading the image during install time
Would the bootc-image-builder (https://osbuild.org/docs/bootc/) help?
Quote from the page:
A container to create disk images from bootc container inputs, especially oriented towards Fedora/CentOS bootc or derivatives.
bootc-image-builder needs to work with other distributions as well if we don't want specifically fedora as the ISO environment. Maybe someone should investigate that
Here is another reference for live iso build (but fedora is the only option) https://github.com/ublue-os/titanoboa
Here is another reference for live iso build (but fedora is the only option) https://github.com/ublue-os/titanoboa
It's supports also Alma Linux and CentOS
Think I found one https://github.com/Zeglius/cuckoo-iso-builder
these are what I know currently:
- https://github.com/osbuild/bootc-image-builder with the type: anaconda-installer backend (it creates a separate rootfs from the container being used)
- https://github.com/osbuild/bootc-image-builder with the type: bootc-installer backend (uses a special flag to specify a container that already has anaconda on it, same idea as anaconda-installer though)
- https://osbuild.org/ directly, super hard to generate your stuff, bootc-image-builder is based on it
- https://github.com/ublue-os/titanoboa what universal blue in general is using right now, its a bit hacky but it does the job. generates live images off of whatever container you have and mutates them during the ISO build
- https://github.com/Zeglius/cuckoo-iso-builder its... like a cuckoo! - it gets your image, generates a live ISO with a different root filesystem (i think its a fedora one?) then deploys your actual image on it
- https://github.com/ublue-os/titanoboa/pull/138 titanoboa but it doesn't mutate your image at ISO build time, it just generates an ISO based off of data inside of your container image instead of installing and doing some stuff then
- then i'm writing a new one (not published just yet) that literally just gets your rootfs, puts it into an ISO with systemd-boot and thats it, nothing else
then for the non-bootc-specific tooling:
- https://software.opensuse.org/package/kiwi - generic image builder, they seem to have a LOT of stuff going on there, including ISO building somewhere
- https://github.com/FyraLabs/katsu - ultramarine's image builder, same-ish idea as kiwi