From f64a6aaa64ea7c5fde2be90f4946d9b2f38ee10f Mon Sep 17 00:00:00 2001 From: Lars Karlitski Date: Thu, 28 Nov 2019 23:35:25 +0100 Subject: [PATCH] stages/dnf: disable all dnf plugins osbuild does not use any plugins. When running without a build root, dnf shouldn't pull in anything from the host. --- stages/org.osbuild.dnf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/stages/org.osbuild.dnf b/stages/org.osbuild.dnf index d2f8d0ea..eb046acc 100755 --- a/stages/org.osbuild.dnf +++ b/stages/org.osbuild.dnf @@ -222,7 +222,7 @@ def main(tree, options): "--setopt", "reposdir=", "--setopt", f"install_weak_deps={weak_deps}", "--releasever", releasever, - "--disableplugin=generate_completion_cache", # supress error that completion db can't be opened + "--noplugins", "--config", dnfconf ]