constellation/image/base/mkosi.conf
Moritz Sanft f7c2392be2
image: update mkosi to 24.3 (#3342)
* flake: format

* image: update mkosi to 24.3

This updates mkosi to a next-version of v24.3, which is now available in nixpkgs. This removes the non-hermetic `uidmap` dependency, which is a great advantage. It will also be less of an effort to upgrade to v25 going forward.
Changes required are keeping `/var/cache` around (which is reproducible for our images, so no problem), as mkosi needs files from it in the build process. mkosi now additionally requires an explicit option to fetch the signing keys for the package repositories from the internet. A hack was required to satisfy the Bazel package, which should probably be solved properly at some point.
2024-09-09 11:18:51 +02:00

72 lines
1.3 KiB
Plaintext

[Distribution]
Distribution=fedora
Release=40
RepositoryKeyFetch=yes
[Output]
Format=tar
CompressOutput=false
Seed=b04a9a33-4559-4af4-8b38-9249cf933229
[Content]
SourceDateEpoch=0
Bootable=no
Packages=systemd
systemd-boot
dbus
udev
util-linux
kernel
kernel-core
kernel-modules
# nvme / disk / udev tools
Packages=nvme-cli
ec2-utils
WALinuxAgent-udev
google-compute-engine-guest-configs-udev # google_nvme_id
device-mapper
cryptsetup
# Containers
Packages=containerd
containernetworking-plugins
iptables-nft
ethtool
socat
iproute-tc
conntrack-tools
podman
# Network
Packages=iproute
dbus
systemd-networkd
systemd-resolved
# measured / secure boot
Packages=e2fsprogs
sbsigntools
efitools
mokutil
tpm2-tools
# selinux
Packages=selinux-policy
selinux-policy-targeted
# tools
Packages=passwd
nano
nano-default-editor
vim
curl
wget
RemoveFiles=/var/log
RemoveFiles=/var/cache
RemoveFiles=/etc/pki/ca-trust/extracted/java/cacerts
/var/cache/ldconfig/aux-cache
RemoveFiles=/etc/issue
RemoveFiles=/etc/issue.net