]> 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)
committerLuca Boccassi <luca.boccassi@gmail.com>
Mon, 4 Aug 2025 14:30:09 +0000 (15:30 +0100)
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

(cherry picked from commit 375d80b04a95bc460f54df26308ad4adcfce9bc4)

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

index 524caab8665b63e4fc1adf3b2dbc6c58526b0d5c..b0dfd18f048fa173f2289ebe9f8a4f04ae5187a6 100644 (file)
@@ -49,9 +49,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 2e87d39901b7bbb08c4c91cfc6fafdeacd2cdf23..611dffbf53474e545511534d4122a4fdad5ed9cf 100755 (executable)
@@ -537,15 +537,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'),
     ):