It looks like at some point the centos9 image started shipping with
curl-minimal, which conflicts with the regular curl package. Asking dnf to find
the binary avoids this, since both packages provide it. Since we were already
doing this with rpmbuild, we can go ahead and loop wget into that in case
something similar happens there.
Signed-off-by: Zack Cerza <zack@cerza.org>
(cherry picked from commit
8964380cbbf6c64eb8342b55bc7078f5617560b8)
# packages etc.
case "${CEPH_BASE_BRANCH}~${DISTRO_KIND}" in
*~*centos*8)
- dnf install -y java-1.8.0-openjdk-headless /usr/bin/rpmbuild wget curl
+ dnf install -y java-1.8.0-openjdk-headless /usr/bin/{rpmbuild,wget,curl}
install_container_deps
dnf_clean
;;
*~*centos*9|*~*centos*10*|*~fedora*)
- dnf install -y /usr/bin/rpmbuild wget curl
+ dnf install -y /usr/bin/{rpmbuild,wget,curl}
install_container_deps
dnf_clean
;;