- 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
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'),
):