Skip to content

Commit

Permalink
Build script:
Browse files Browse the repository at this point in the history
* Add --nobest yum option on Rocky Linux to in order get python development installed.
  • Loading branch information
mikeov committed Nov 11, 2024
1 parent 4a2a9c5 commit 80377b1
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion travis/script.sh
Original file line number Diff line number Diff line change
Expand Up @@ -274,8 +274,13 @@ build_centos() {
if [ -f "$MYCENTOSEPEL_RPM" ]; then
$MYSUDO rpm -Uvh "$MYCENTOSEPEL_RPM"
fi
if [ x"$1" = x'9' ]; then
YUM_OPTS=--nobest
else
YUM_OPTS=
fi
eval MYDEPS='${DEPS_CENTOS'"$1"'-$DEPS_CENTOS}'
$MYSUDO yum install -y $MYDEPS
$MYSUDO yum install -y $YUM_OPTS $MYDEPS
MYPATH=$PATH
# CentOS doesn't package maven directly so we have to install it manually
install_maven
Expand Down

0 comments on commit 80377b1

Please sign in to comment.