pungi/1798.patch
Adam Williamson 1fb0c8aa16 Backport #1798 to infer types/formats for new FEX backing images
(cherry picked from commit 92d7921cf1bbf816217e2c4945dc8f6ae7881a39)
2025-09-29 18:06:23 +03:00

29 lines
859 B
Diff

From eb4ba5f637153f0037f05981adea8b35fc0f6b25 Mon Sep 17 00:00:00 2001
From: Adam Williamson <awilliam@redhat.com>
Date: Nov 20 2024 00:49:30 +0000
Subject: kiwibuild: extend productmd type/format detection for FEX images
Signed-off-by: Adam Williamson <awilliam@redhat.com>
---
diff --git a/pungi/phases/kiwibuild.py b/pungi/phases/kiwibuild.py
index 15732ce..400ea6a 100644
--- a/pungi/phases/kiwibuild.py
+++ b/pungi/phases/kiwibuild.py
@@ -19,6 +19,12 @@ KIWIEXTENSIONS = [
# so 'boot' is just a default guess. 'iso' is not a valid
# productmd image type
("boot", [".iso"], "iso"),
+ ("fex", ["erofs.xz"], "erofs.xz"),
+ ("fex", ["erofs.gz"], "erofs.gz"),
+ ("fex", ["erofs"], "erofs"),
+ ("fex", ["squashfs.xz"], "squashfs.xz"),
+ ("fex", ["squashfs.gz"], "squashfs.gz"),
+ ("fex", ["squashfs"], "squashfs"),
]