Skip to content

Commit

Permalink
install-deps.sh: install centos-release-scl-rh on aarch64
Browse files Browse the repository at this point in the history
Signed-off-by: Kefu Chai <kchai@redhat.com>
  • Loading branch information
tchaikov committed Dec 5, 2017
1 parent 5adb7a9 commit 1212cb2
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion install-deps.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 1212cb2

Please sign in to comment.