stagse/dnf: don't make verbosity configurable

We don't want non-functional configuration in the pipelne, we want to
restrict ourselves to options that changes the final image.

Signed-off-by: Tom Gundersen <teg@jklm.no>
This commit is contained in:
Tom Gundersen 2019-08-24 17:23:55 +02:00 committed by Lars Karlitski
parent 679b79c5e5
commit b348d858b8

View file

@ -10,7 +10,6 @@ def main(tree, options):
packages = options["packages"]
releasever = options["releasever"]
operation = options.get("operation", "install")
verbosity = options.get("verbosity", "info")
with open("/tmp/dnf.conf", "w") as conf:
for repoid, repo in repos.items():
@ -48,7 +47,6 @@ def main(tree, options):
"--setopt", "reposdir=",
"--setopt", "install_weak_deps=False",
"--releasever", releasever,
"--rpmverbosity", verbosity,
"--disableplugin=generate_completion_cache", # supress error that completion db can't be opened
"--config", "/tmp/dnf.conf",
operation