| |
@@ -19,6 +19,7 @@
|
| |
{
|
| |
"iso": ["iso"],
|
| |
"vhd-compressed": ["vhd.gz", "vhd.xz"],
|
| |
+ "tar": ["tar", "tar.gz", "tar.bz2", "tar.xz", "tgz"],
|
| |
}
|
| |
)
|
| |
|
| |
@@ -269,7 +270,10 @@
|
| |
# determine the manifest type based on the koji output
|
| |
img.type = config.get("manifest_type")
|
| |
if not img.type:
|
| |
- if archive["type_name"] != "iso":
|
| |
+ if archive["type_name"] == "tar" and "wsl2" in archive["filename"]:
|
| |
+ # HACK: this should really be set in the compose configuration
|
| |
+ img.type = "wsl2"
|
| |
+ elif archive["type_name"] != "iso":
|
| |
img.type = archive["type_name"]
|
| |
else:
|
| |
fn = archive["filename"].lower()
|
| |
OSBuild can generate images with
tar.gz
extension but import them to Koji with archive type set totar
. In such situation Pungi will not recognize the file and it will not be downloaded into the compose.