stages/dnf: exclude-packages → exclude_packages

This commit is contained in:
Lars Karlitski 2019-10-03 11:23:43 +02:00 committed by Tom Gundersen
parent 72c3157162
commit 3e57f13380
3 changed files with 3 additions and 3 deletions

View file

@ -24,7 +24,7 @@
"xen-libs",
"langpacks-en"
],
"exclude-packages": [
"exclude_packages": [
"dracut-config-rescue"
]
}

View file

@ -60,7 +60,7 @@ def main(tree, options):
basearch = options["basearch"]
operation = options.get("operation", "install")
weak_deps = options.get("install_weak_deps", True)
exclude_packages = options.get("exclude-packages", [])
exclude_packages = options.get("exclude_packages", [])
with open("/tmp/dnf.conf", "w") as conf:
for repoid, repo in enumerate(repos):

View file

@ -51,7 +51,7 @@
"xen-libs",
"langpacks-en"
],
"exclude-packages": [
"exclude_packages": [
"dracut-config-rescue"
]
}