From: Daan De Meyer Date: Thu, 13 Feb 2025 20:37:30 +0000 (+0100) Subject: Drop 5.11 check X-Git-Tag: v26~384^2~9 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e65267084b5f79aeb78cebde9c8302ba206f4ad4;p=thirdparty%2Fmkosi.git Drop 5.11 check We already depend on 5.12 for mount_setattr(), so let's drop this check for 5.11 now. --- diff --git a/mkosi/config.py b/mkosi/config.py index 120292d4a..50b4b1bdc 100644 --- a/mkosi/config.py +++ b/mkosi/config.py @@ -4774,15 +4774,6 @@ def load_config(config: argparse.Namespace) -> Config: if config.incremental and not config.cache_dir: die("A cache directory must be configured in order to use --incremental") - # For unprivileged builds we need the userxattr OverlayFS mount option, which is only available - # in Linux v5.11 and later. - if ( - (config.build_scripts or config.base_trees) - and GenericVersion(platform.release()) < GenericVersion("5.11") - and os.geteuid() != 0 - ): - die("This unprivileged build configuration requires at least Linux v5.11") - return Config.from_namespace(config)