Skip to content

Commit

Permalink
webui: Make RPM building DNF5 compatible
Browse files Browse the repository at this point in the history
The Rawhide images we use to build Anaconda RPMs for the updates image
now have DNF5, which changed name os some options, including
--downloaddir.
  • Loading branch information
M4rtinK committed Jun 27, 2023
1 parent 0fc7b07 commit 613edf1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ui/webui/test/build-rpms
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down

0 comments on commit 613edf1

Please sign in to comment.