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

24 lines
557 B
Plaintext

[Distribution]
Distribution=fedora
Release=40
RepositoryKeyFetch=yes
[Output]
Format=disk
ManifestFormat=json
Output=constellation
ImageId=constellation
Seed=0e9a6fe0-68f6-408c-bbeb-136054d20445
[Content]
SourceDateEpoch=0
Bootable=yes
Bootloader=uki
KernelCommandLine=preempt=full rd.shell=0 rd.emergency=reboot loglevel=8
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