CI: disable secure boot in mkosi GHA runs
authorLuca Boccassi <bluca@debian.org>
Mon, 17 Jun 2024 16:40:28 +0000 (17:40 +0100)
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Tue, 18 Jun 2024 18:41:01 +0000 (20:41 +0200)
Booting a guest with secure boot is broken in Azure due to a hypervisor
bug. Disable it for now. Given there's no option, need to edit
the configuration on the fly.

(cherry picked from commit bdd0b45bfd7190bb8eb50c71ff6f50a80d6e6e52)

.github/workflows/mkosi.yml

index 425d737b62f36d6296a031b4d61aa96fd0ca70f9..62efd367cbdef0ef42585e9226ff27634e5b080a 100644 (file)
@@ -117,6 +117,8 @@ jobs:
 
     - name: Configure
       run: |
+        # XXX: drop after the HyperV bug that breaks secure boot KVM guests is solved
+        sed -i "s/'firmware'\s*:\s*'auto'/'firmware' : 'uefi'/g" test/*/meson.build
         tee mkosi.local.conf <<EOF
         [Distribution]
         Distribution=${{ matrix.distro }}