From 3e57f133802d4d4f4d18bef1c671b7b5ef2d6a0b Mon Sep 17 00:00:00 2001 From: Lars Karlitski Date: Thu, 3 Oct 2019 11:23:43 +0200 Subject: [PATCH] =?UTF-8?q?stages/dnf:=20exclude-packages=20=E2=86=92=20ex?= =?UTF-8?q?clude=5Fpackages?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- samples/base-qcow2.json | 2 +- stages/org.osbuild.dnf | 2 +- test/pipelines/f30-boot.json | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/samples/base-qcow2.json b/samples/base-qcow2.json index 312a97fb..efce05fa 100644 --- a/samples/base-qcow2.json +++ b/samples/base-qcow2.json @@ -24,7 +24,7 @@ "xen-libs", "langpacks-en" ], - "exclude-packages": [ + "exclude_packages": [ "dracut-config-rescue" ] } diff --git a/stages/org.osbuild.dnf b/stages/org.osbuild.dnf index 26283e9e..71e1f994 100755 --- a/stages/org.osbuild.dnf +++ b/stages/org.osbuild.dnf @@ -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): diff --git a/test/pipelines/f30-boot.json b/test/pipelines/f30-boot.json index 7ff426e5..5d05482b 100644 --- a/test/pipelines/f30-boot.json +++ b/test/pipelines/f30-boot.json @@ -51,7 +51,7 @@ "xen-libs", "langpacks-en" ], - "exclude-packages": [ + "exclude_packages": [ "dracut-config-rescue" ] }