constellation/image/initrd/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

41 lines
879 B
Plaintext

[Distribution]
Distribution=fedora
Release=40
RepositoryKeyFetch=yes
[Output]
Format=cpio
Output=image
Seed=b04a9a33-4559-4af4-8b38-9249cf933229
[Content]
SourceDateEpoch=0
MakeInitrd=yes
Bootable=no
Packages=systemd
systemd-networkd
systemd-resolved
systemd-udev
dbus
util-linux
gzip
kmod
tpm2-tools
curl # for azure provision service
# nvme / disk / udev tools
Packages=udev
nvme-cli
ec2-utils
WALinuxAgent-udev
xxd
google-compute-engine-guest-configs-udev # google_nvme_id
device-mapper
cryptsetup
RemoveFiles=/var/log
RemoveFiles=/var/cache
RemoveFiles=/etc/pki/ca-trust/extracted/java/cacerts
/usr/lib/sysimage/libdnf5/transaction_history.sqlite*
/var/cache/ldconfig/aux-cache
CleanPackageMetadata=true