]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
mkosi: explicitly disable KVM in GHA runs
authorLuca Boccassi <bluca@debian.org>
Thu, 2 Nov 2023 11:01:23 +0000 (11:01 +0000)
committerLuca Boccassi <luca.boccassi@gmail.com>
Thu, 2 Nov 2023 12:16:11 +0000 (12:16 +0000)
mkosi detects whether /dev/kvm is available and uses it if it is. But
some GHA hosts have it, but it's broken and not supported, so we need
to explicitly disable it.

.github/workflows/mkosi.yml

index 31fd7fe1c6ae259ab15101443ff3acdcb4c98385..7b676ddbfbdb23104504c58c537397a3be507d6d 100644 (file)
@@ -99,6 +99,8 @@ jobs:
                                # Root device can take a long time to appear, so let's bump the timeout.
                                systemd.default_device_timeout_sec=180
         QemuVsock=yes
+        # Sometimes we run on a host with /dev/kvm, but it is broken, so explicitly disable it
+        QemuKvm=no
         Ephemeral=yes
         EOF