From: Daan De Meyer Date: Tue, 9 Apr 2024 14:29:04 +0000 (+0200) Subject: Make sure we make all kinds of scripts executable X-Git-Tag: v23~15 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4e70d8dd88a0983c143853c3e460c6ca046a9918;p=thirdparty%2Fmkosi.git Make sure we make all kinds of scripts executable --- diff --git a/mkosi/config.py b/mkosi/config.py index 835bddd6e..5b760e18d 100644 --- a/mkosi/config.py +++ b/mkosi/config.py @@ -3261,10 +3261,13 @@ def parse_config(argv: Sequence[str] = (), *, resources: Path = Path("/")) -> tu if any(p == Path(c) for c in BUILTIN_CONFIGS): _, [config] = parse_config(["--directory", "", "--include", os.fspath(path)]) make_executable( + *config.configure_scripts, + *config.clean_scripts, + *config.sync_scripts, *config.prepare_scripts, + *config.build_scripts, *config.postinst_scripts, *config.finalize_scripts, - *config.build_scripts, ) with chdir(path if path.is_dir() else Path.cwd()):