From c2d1e02675fbe9610d710cd0c270563c8ffac1b7 Mon Sep 17 00:00:00 2001 From: Kefu Chai Date: Tue, 5 Dec 2017 23:22:17 +0800 Subject: install-deps.sh: install centos-release-scl-rh on aarch64 Signed-off-by: Kefu Chai (cherry picked from commit 84660c977cc7511290a3c5497468052b3eaccf43) --- install-deps.sh | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/install-deps.sh b/install-deps.sh index 871a9f81a0e..c6a935a3df2 100755 --- a/install-deps.sh +++ b/install-deps.sh @@ -167,7 +167,12 @@ 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 install centos-release-scl + case $(uname -m) in + x86_64) + $SUDO yum install centos-release-scl;; + aarch64) + $SUDO yum install centos-release-scl-rh;; + esac elif test $(lsb_release -si) = RedHatEnterpriseServer -a $MAJOR_VERSION = 7 ; then $SUDO yum-config-manager --enable rhel-server-rhscl-7-rpms elif test $(lsb_release -si) = VirtuozzoLinux -a $MAJOR_VERSION = 7 ; then -- cgit v1.2.3