Skip to content

Commit

Permalink
install-deps.sh: enable testing repo on centos on aarch64
Browse files Browse the repository at this point in the history
the DTS-6 is only available in the testing repo

Signed-off-by: Kefu Chai <kchai@redhat.com>
  • Loading branch information
tchaikov committed Dec 8, 2017
1 parent 6b20170 commit c673062
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions install-deps.sh
Expand Up @@ -188,6 +188,9 @@ else
fi
;;
CentOS|RedHatEnterpriseServer|VirtuozzoLinux)
if [ $(uname -m) = aarch64 ]; then
$SUDO yum-config-manager --disable centos-sclo-rh
fi
$SUDO yum install -y yum-utils
MAJOR_VERSION=$(lsb_release -rs | cut -f1 -d.)
if test $(lsb_release -si) = RedHatEnterpriseServer ; then
Expand All @@ -199,13 +202,13 @@ else
$SUDO rm -f /etc/yum.repos.d/dl.fedoraproject.org*
if test $(lsb_release -si) = CentOS -a $MAJOR_VERSION = 7 ; then
$SUDO yum-config-manager --enable cr
$SUDO yum -y install centos-release-scl
case $(uname -m) in
x86_64)
$SUDO yum install centos-release-scl
dts_ver=7
;;
aarch64)
$SUDO yum install centos-release-scl-rh
$SUDO yum-config-manager --enable centos-sclo-rh-testing
dts_ver=6
;;
esac
Expand Down

0 comments on commit c673062

Please sign in to comment.