From: Daan De Meyer Date: Sat, 29 Mar 2025 12:20:53 +0000 (+0100) Subject: Make CompressLevel= an inherited setting X-Git-Tag: v26~285^2~13 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=fbc707825a4ffb1577cd824ab062f20b31fa00fc;p=thirdparty%2Fmkosi.git Make CompressLevel= an inherited setting --- diff --git a/mkosi/config.py b/mkosi/config.py index e4a8368a6..814c49d94 100644 --- a/mkosi/config.py +++ b/mkosi/config.py @@ -2698,6 +2698,7 @@ SETTINGS: list[ConfigSetting[Any]] = [ parse=config_parse_compress_level, default=3, help="Set the compression level to use", + scope=SettingScope.inherit, ), ConfigSetting( dest="output_dir", diff --git a/mkosi/resources/man/mkosi.1.md b/mkosi/resources/man/mkosi.1.md index ffd6bc0a1..d22ee789b 100644 --- a/mkosi/resources/man/mkosi.1.md +++ b/mkosi/resources/man/mkosi.1.md @@ -2915,6 +2915,7 @@ down to subimages but can be overridden: - `SectorSize=` - `CacheKey=` - `BuildKey=` +- `CompressLevel=` Additionally, there are various settings that can only be configured in the main image but which are not passed down to subimages: