commit:     8e53937b0be402005d6d4d145331bfec633f50f6
Author:     Andreas K. Hüttel <dilfridge <AT> gentoo <DOT> org>
AuthorDate: Tue Jan  6 11:31:45 2026 +0000
Commit:     Andreas K. Hüttel <dilfridge <AT> gentoo <DOT> org>
CommitDate: Tue Jan  6 12:18:34 2026 +0000
URL:        https://gitweb.gentoo.org/proj/catalyst.git/commit/?id=8e53937b

wsl is in reality tar.xz

Signed-off-by: Andreas K. Hüttel <dilfridge <AT> gentoo.org>

 catalyst/main.py | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)

diff --git a/catalyst/main.py b/catalyst/main.py
index 6e9a2d3e..eba80c3e 100644
--- a/catalyst/main.py
+++ b/catalyst/main.py
@@ -311,8 +311,13 @@ def _main(parser, opts):
     conf_values["options"].extend(options)
     log.notice('conf_values[options] = %s', conf_values['options'])
 
+    CONTENTS_DEFINITIONS_CATALYST = CONTENTS_DEFINITIONS
+    CONTENTS_DEFINITIONS_CATALYST["pixz"][4].append("wsl")
+    CONTENTS_DEFINITIONS_CATALYST["xz"][4].append("wsl")
+    # TODO add capability to config/spec new definitions
+
     # initialize our contents generator
-    contents_map = ContentsMap(CONTENTS_DEFINITIONS,
+    contents_map = ContentsMap(CONTENTS_DEFINITIONS_CATALYST,
                                comp_prog=conf_values['comp_prog'],
                                decomp_opt=conf_values['decomp_opt'],
                                list_xattrs_opt=conf_values['list_xattrs_opt'])

Reply via email to