Skip to content

Commit ea5e2c6

Browse files
author
Cyprien Courtot
committed
fix: PowerTools repo is called CRB in AlmaLinux 9
1 parent 043cfe8 commit ea5e2c6

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

docker/build_scripts/install-runtime-packages.sh

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,11 @@ elif [ "${AUDITWHEEL_POLICY}" == "manylinux_2_28" ] || [ "${AUDITWHEEL_POLICY}"
9797
sed -i '/^override_install_langs=/d' /etc/yum.conf
9898
dnf -y upgrade
9999
dnf -y install dnf-plugins-core
100-
dnf config-manager --set-enabled powertools # for yasm
100+
if [ "${AUDITWHEEL_POLICY}" == "manylinux_2_34" ]; then
101+
dnf config-manager --set-enabled crb
102+
else
103+
dnf config-manager --set-enabled powertools # for yasm
104+
fi
101105
TOOLCHAIN_DEPS="gcc-toolset-12-binutils gcc-toolset-12-gcc gcc-toolset-12-gcc-c++ gcc-toolset-12-gcc-gfortran"
102106
if [ "${AUDITWHEEL_ARCH}" == "x86_64" ]; then
103107
TOOLCHAIN_DEPS="${TOOLCHAIN_DEPS} yasm"

0 commit comments

Comments
 (0)