From 2d48a341a66cea3cb0bb35f8ee9b155f521590b0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lubom=C3=ADr=20Sedl=C3=A1=C5=99?= Date: Thu, 5 Jun 2025 08:28:37 +0200 Subject: [PATCH] Recognize wsl2 images produced by koji MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The image type was added to productmd 1.45, so we should also require that version. Merges: https://pagure.io/pungi/pull-request/1841 Signed-off-by: Lubomír Sedlář (cherry picked from commit 668547ed3f8da2528fbeb1b12040182ca02e7f31) --- pungi/phases/kiwibuild.py | 1 + setup.py | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/pungi/phases/kiwibuild.py b/pungi/phases/kiwibuild.py index 515a9200..52343fe5 100644 --- a/pungi/phases/kiwibuild.py +++ b/pungi/phases/kiwibuild.py @@ -27,6 +27,7 @@ KIWIEXTENSIONS = [ ("fex", ["squashfs.gz"], "squashfs.gz"), ("fex", ["squashfs"], "squashfs"), ("container", ["oci.tar.xz"], "tar.xz"), + ("wsl2", ["wsl"], "wsl"), ] diff --git a/setup.py b/setup.py index 3bb1a602..4c003387 100755 --- a/setup.py +++ b/setup.py @@ -60,7 +60,7 @@ setup( "jsonschema", "kobo", "lxml", - "productmd>=1.43", + "productmd>=1.45", "dogpile.cache", ], tests_require=["pytest", "pytest-cov", "pyfakefs"],