From 47699af08095e8b68a489d952854322093e26515 Mon Sep 17 00:00:00 2001 From: Joerg Behrmann Date: Thu, 16 Nov 2023 11:40:48 +0100 Subject: [PATCH] config: also default config_default_compression for OutputFormat.tar The man page suggests this to be the case --- mkosi/config.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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: -- 2.47.2