Skip to content

Commit 8964380

Browse files
committed
buildcontainer-setup.sh: Fix curl package conflict
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 <[email protected]>
1 parent cc21dc4 commit 8964380

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/script/buildcontainer-setup.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,12 +31,12 @@ fi
3131
# packages etc.
3232
case "${CEPH_BASE_BRANCH}~${DISTRO_KIND}" in
3333
*~*centos*8)
34-
dnf install -y java-1.8.0-openjdk-headless /usr/bin/rpmbuild wget curl
34+
dnf install -y java-1.8.0-openjdk-headless /usr/bin/{rpmbuild,wget,curl}
3535
install_container_deps
3636
dnf_clean
3737
;;
3838
*~*centos*9|*~*centos*10*|*~fedora*)
39-
dnf install -y /usr/bin/rpmbuild wget curl
39+
dnf install -y /usr/bin/{rpmbuild,wget,curl}
4040
install_container_deps
4141
dnf_clean
4242
;;

0 commit comments

Comments
 (0)