From: Daan De Meyer Date: Wed, 26 Jul 2023 15:47:35 +0000 (+0200) Subject: dnf: Enable builddep plugin X-Git-Tag: v15~51^2~3 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=968967c50d3c8a9ac91f54bc2be6757465515fd1;p=thirdparty%2Fmkosi.git dnf: Enable builddep plugin This one is actually useful and has to be invoked explicitly so there's no harm in enabling it. --- diff --git a/mkosi/installer/dnf.py b/mkosi/installer/dnf.py index decc6c004..bad6d20eb 100644 --- a/mkosi/installer/dnf.py +++ b/mkosi/installer/dnf.py @@ -88,7 +88,8 @@ def dnf_cmd(state: MkosiState) -> list[str]: f"--setopt=varsdir={state.pkgmngr / 'etc/dnf/vars'}", f"--setopt=persistdir={state.pkgmngr / 'var/lib/dnf'}", "--setopt=check_config_file_age=0", - "--no-plugins" if dnf.endswith("dnf5") else "--noplugins", + "--disableplugin=*", + "--enableplugin=builddep", ] if not state.config.repository_key_check: