Ensure these packages are installed
$ sudo dnf install mkosi arch-install-scripts systemd-container zip
If you're not building on aarch64, you'll also want:
$ sudo dnf install qemu-user-static-aarch64
Note that the currently released mkosi version (mkosi 14) cannot build this config successfully, so you'll want to run the latest git main branch instead until a new one is released. This can be installed with:
python3 -m pip install --user git+https://github.com/systemd/mkosi.git
To build a Rawhide image:
$ ./build.sh
TODO list:
Remove the need to run update-grub during the image creation process.
Set selinux to enforcing