From: Daan De Meyer Date: Fri, 5 May 2023 08:57:56 +0000 (+0200) Subject: Set dnf logdir to the workspace directory X-Git-Tag: v15~179^2~3 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=93b8ba3d47c1fb8e256771aecf82190f386ac7ca;p=thirdparty%2Fmkosi.git Set dnf logdir to the workspace directory Let's not clutter the image with dnf logs. --- diff --git a/mkosi/distributions/fedora.py b/mkosi/distributions/fedora.py index 4fcb3b2f1..909a7b0d2 100644 --- a/mkosi/distributions/fedora.py +++ b/mkosi/distributions/fedora.py @@ -152,6 +152,7 @@ def invoke_dnf( f"--setopt=cachedir={state.cache}", f"--setopt=reposdir={' '.join(str(p) for p in state.config.repo_dirs)}", f"--setopt=varsdir={state.workspace / 'vars'}", + f"--setopt=logdir={state.workspace}", "--setopt=check_config_file_age=0", "--noplugins", ]