From 375d80b04a95bc460f54df26308ad4adcfce9bc4 Mon Sep 17 00:00:00 2001 From: Luca Boccassi Date: Sat, 12 Jul 2025 09:58:17 +0100 Subject: [PATCH] ci: re-enable uefi secure boot 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 | 3 --- test/integration-tests/integration-test-wrapper.py | 8 +------- 2 files changed, 1 insertion(+), 10 deletions(-) diff --git a/.github/workflows/coverage.yml b/.github/workflows/coverage.yml index c5e7ad75b81..88b41d2d8c3 100644 --- a/.github/workflows/coverage.yml +++ b/.github/workflows/coverage.yml @@ -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 < 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'), ): -- 2.47.3