From: Daan De Meyer Date: Tue, 12 Mar 2024 08:32:26 +0000 (+0100) Subject: Skip UKI/ESP/CPIO format boot for all distributions X-Git-Tag: v22~12^2~11 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c6f9303493b24d7c928bde2a8ea66799e26c4e26;p=thirdparty%2Fmkosi.git Skip UKI/ESP/CPIO format boot for all distributions We need to write a separate test with a minimal image for these as these images have to fit into memory. --- diff --git a/tests/test_boot.py b/tests/test_boot.py index 21614a12c..85709a1d4 100644 --- a/tests/test_boot.py +++ b/tests/test_boot.py @@ -51,12 +51,8 @@ def test_format(config: Image.Config, format: OutputFormat) -> None: args = ["systemd.mask=systemd-resolved.service"] if format == OutputFormat.directory else [] image.boot(options=options, args=args) - if ( - image.config.distribution == Distribution.ubuntu and - format in (OutputFormat.cpio, OutputFormat.uki, OutputFormat.esp) - ): - # https://bugs.launchpad.net/ubuntu/+source/linux-kvm/+bug/2045561 - pytest.skip("Cannot boot Ubuntu UKI/cpio images in qemu until we switch back to linux-kvm") + if format in (OutputFormat.cpio, OutputFormat.uki, OutputFormat.esp): + pytest.skip("Default image is too large to be able to boot in CPIO/UKI/ESP format") if image.config.distribution == Distribution.rhel_ubi: return