From: Joerg Behrmann Date: Thu, 16 Nov 2023 10:40:48 +0000 (+0100) Subject: config: also default config_default_compression for OutputFormat.tar X-Git-Tag: v20~144^2 X-Git-Url: http://git.ipfire.org/gitweb/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F2074%2Fhead;p=thirdparty%2Fmkosi.git config: also default config_default_compression for OutputFormat.tar The man page suggests this to be the case --- diff --git a/mkosi/config.py b/mkosi/config.py index 59e21ebbb..987df7973 100644 --- a/mkosi/config.py +++ b/mkosi/config.py @@ -311,7 +311,7 @@ def config_parse_source_date_epoch(value: Optional[str], old: Optional[int]) -> def config_default_compression(namespace: argparse.Namespace) -> Compression: - if namespace.output_format in (OutputFormat.cpio, OutputFormat.uki, OutputFormat.esp): + if namespace.output_format in (OutputFormat.tar, OutputFormat.cpio, OutputFormat.uki, OutputFormat.esp): if namespace.distribution.is_centos_variant() and int(namespace.release) <= 8: return Compression.xz else: