From: Daan De Meyer Date: Mon, 27 Mar 2023 11:17:51 +0000 (+0200) Subject: Fix check_config_file_age X-Git-Tag: v15~277 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=190ef137596975bac227ff0ee0b0c6c23b1aa8b7;p=thirdparty%2Fmkosi.git Fix check_config_file_age This is actually a main config setting instead of a per repo setting. --- diff --git a/mkosi/distributions/fedora.py b/mkosi/distributions/fedora.py index 06bcd8a93..f0d753e73 100644 --- a/mkosi/distributions/fedora.py +++ b/mkosi/distributions/fedora.py @@ -164,7 +164,6 @@ def setup_dnf(state: MkosiState, repos: Sequence[Repo] = ()) -> None: gpgkey={gpgkey or ''} gpgcheck={int(gpgcheck)} enabled={int(repo.enabled)} - check_config_file_age=0 """ ) ) @@ -191,6 +190,7 @@ def invoke_dnf(state: MkosiState, command: str, packages: Iterable[str], env: Ma f"--setopt=cachedir={state.cache}", f"--setopt=reposdir={' '.join(str(p) for p in state.config.repo_dirs)}", f"--setopt=varsdir={state.workspace / 'vars'}", + "--setopt=check_config_file_age=0", "--noplugins", ]