1
0
mirror of https://github.com/systemd/systemd.git synced 2025-03-08 08:58:27 +03:00

mkosi: Insist on KVM, VSOCK and TPM by default

By default mkosi will not run VMs with these features if they're not
available, but since various stuff in systemd makes use of these, let's
fail loudly if any of these are not available by default in systemd.

Users can still override these defaults locally if they wish.
This commit is contained in:
Daan De Meyer 2024-05-03 14:15:55 +02:00
parent 86e249f326
commit 1c329956e5
2 changed files with 3 additions and 2 deletions

View File

@ -121,8 +121,6 @@ jobs:
[Host]
ToolsTree=default
ToolsTreeDistribution=fedora
QemuVsock=yes
QemuKvm=yes
# TODO: Drop once https://bugs.launchpad.net/ubuntu/+source/linux/+bug/2038777 is fixed in Github Actions
QemuFirmware=uefi
EOF

View File

@ -41,4 +41,7 @@ Credentials=journal.storage=persistent
@Incremental=yes
@RuntimeBuildSources=yes
@QemuSmp=2
@QemuSwtpm=yes
@QemuVsock=yes
@QemuKvm=yes
ToolsTreePackages=virtiofsd