From f724f6b9c41cded4ca2446811df6c1964ceaf39e Mon Sep 17 00:00:00 2001 From: Michal Berger Date: Thu, 20 Aug 2020 16:19:09 +0200 Subject: [PATCH] scripts/pgkdep: [rhel] Use python36 On rhel 8.x standard appstream and baseos repos don't provide python package. Use python36 instead as it's available there. Change-Id: I125aa3370bdb11f67f2774e00e70196df9680f13 Signed-off-by: Michal Berger Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/3871 Community-CI: Mellanox Build Bot Tested-by: SPDK CI Jenkins Reviewed-by: Jim Harris Reviewed-by: Shuhei Matsumoto Reviewed-by: Tomasz Zawadzki --- scripts/pkgdep/rhel.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/pkgdep/rhel.sh b/scripts/pkgdep/rhel.sh index c2f0f9f82..c56c113b5 100755 --- a/scripts/pkgdep/rhel.sh +++ b/scripts/pkgdep/rhel.sh @@ -8,7 +8,7 @@ if echo "$ID $VERSION_ID" | grep -E -q 'centos 8'; then fi yum install -y gcc gcc-c++ make CUnit-devel libaio-devel openssl-devel \ libuuid-devel libiscsi-devel ncurses-devel -if echo "$ID $VERSION_ID" | grep -E -q 'centos 8'; then +if echo "$ID $VERSION_ID" | grep -E -q 'centos 8|rhel 8'; then yum install -y python36 #Create hard link to use in SPDK as python if [[ ! -e /usr/bin/python && -e /etc/alternative/python3 ]]; then