From 613edf13fc813597920f2b12c9e8d9d3be80b530 Mon Sep 17 00:00:00 2001 From: Martin Kolman Date: Tue, 27 Jun 2023 15:47:42 +0200 Subject: [PATCH] webui: Make RPM building DNF5 compatible The Rawhide images we use to build Anaconda RPMs for the updates image now have DNF5, which changed name os some options, including --downloaddir. --- ui/webui/test/build-rpms | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ui/webui/test/build-rpms b/ui/webui/test/build-rpms index 43636fdcff4..148ac584d7c 100755 --- a/ui/webui/test/build-rpms +++ b/ui/webui/test/build-rpms @@ -35,7 +35,7 @@ def build_rpms(srpm, image, verbose, quick): # FIXME boot.iso on rawhide does not currently contain the new cockpit dependencies # This will change once we include this changes upstream and start building boot.iso with the new dependencies # Then we can safely remove this workaround - machine.execute(f"dnf download --downloaddir /var/tmp/build/ {missing_packages}", stdout=sys.stdout, timeout=1800) + machine.execute(f"dnf download --destdir /var/tmp/build/ {missing_packages}", stdout=sys.stdout, timeout=1800) # download rpms vm_rpms = machine.execute("find /var/tmp/build -name '*.rpm' -not -name '*.src.rpm'").strip().split()