]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
ci: re-enable uefi secure boot
authorLuca Boccassi <luca.boccassi@gmail.com>
Sat, 12 Jul 2025 08:58:17 +0000 (09:58 +0100)
committerYu Watanabe <watanabe.yu+github@gmail.com>
Sat, 12 Jul 2025 12:07:58 +0000 (21:07 +0900)
Kernel 6.11.0-1018-azure is now in use, which has a workaround
for the HyperV bug, so this should work again in GHA

.github/workflows/coverage.yml
test/integration-tests/integration-test-wrapper.py

index c5e7ad75b81bf6517e445caceb5d5c377f16324a..88b41d2d8c3b1842ce1842eca092a78456b2a2dd 100644 (file)
@@ -50,9 +50,6 @@ 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/mkosi.local.conf <<EOF
           [Distribution]
           Distribution=arch
index e31815524d232a1ab268d2130682f5c330e573bc..999fef9edc31ccaa95b8203ba17f4fdbaf5c7701 100755 (executable)
@@ -556,15 +556,9 @@ def main() -> None:
     else:
         rtc = None
 
-    # mkosi will use the UEFI secure boot firmware by default on UEFI platforms. However, this breaks on
-    # Github Actions in combination with KVM because of a HyperV bug so make sure we use the non secure
-    # boot firmware on Github Actions.
-    # TODO: Drop after the HyperV bug that breaks secure boot KVM guests is solved
-    if args.firmware == 'auto' and os.getenv('GITHUB_ACTIONS'):
-        firmware = 'uefi'
     # Whenever possible, boot without an initrd. This requires the target distribution kernel to have the
     # necessary modules (virtio-blk, ext4) builtin.
-    elif args.firmware == 'linux-noinitrd' and (summary.distribution, summary.release) not in (
+    if args.firmware == 'linux-noinitrd' and (summary.distribution, summary.release) not in (
         ('fedora', 'rawhide'),
         ('arch', 'rolling'),
     ):