mirror of
https://github.com/systemd/systemd
synced 2025-10-06 00:13:24 +02:00
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
This commit is contained in:
committed by
Yu Watanabe
parent
b1eb6cc28b
commit
375d80b04a
3
.github/workflows/coverage.yml
vendored
3
.github/workflows/coverage.yml
vendored
@@ -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
|
||||
|
@@ -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'),
|
||||
):
|
||||
|
Reference in New Issue
Block a user