From d5a4d169d77bfecd589d2dd06689824b16f42909 Mon Sep 17 00:00:00 2001 From: "Trawinski, Dariusz" Date: Mon, 5 Dec 2022 15:42:28 +0100 Subject: [PATCH] prepare install NEO script for rhel8.7 and ubi8.7 (#14408) * enable install scripts for rhel8.7 * fix syntax error --- scripts/install_dependencies/install_NEO_OCL_driver.sh | 4 ++-- scripts/install_dependencies/install_openvino_dependencies.sh | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/scripts/install_dependencies/install_NEO_OCL_driver.sh b/scripts/install_dependencies/install_NEO_OCL_driver.sh index 00f323e1d21..594462416cd 100755 --- a/scripts/install_dependencies/install_NEO_OCL_driver.sh +++ b/scripts/install_dependencies/install_NEO_OCL_driver.sh @@ -382,10 +382,10 @@ add_user_to_video_group() _check_distro_version() { if [[ $DISTRO == redhat ]]; then - RHEL_MINOR_VERSION_SUPPORTED="[3-6]" + RHEL_MINOR_VERSION_SUPPORTED="[3-7]" RHEL_VERSION=$(grep -m1 'VERSION_ID' /etc/os-release | grep -Eo "8.${RHEL_MINOR_VERSION_SUPPORTED}") if [[ $? -ne 0 ]]; then - echo "Warning: This runtime can be installed only on RHEL 8.3 up to RHEL 8.6" + echo "Warning: This runtime can be installed only on RHEL 8.3 up to RHEL 8.7" echo "More info https://dgpu-docs.intel.com/releases/releases-20211130.html" >&2 echo "Installation of Intel® Graphics Compute Runtime for oneAPI Level Zero and OpenCL™ Driver interrupted" exit $EXIT_FAILURE diff --git a/scripts/install_dependencies/install_openvino_dependencies.sh b/scripts/install_dependencies/install_openvino_dependencies.sh index 508c68406a0..8ce95ccd9d5 100755 --- a/scripts/install_dependencies/install_openvino_dependencies.sh +++ b/scripts/install_dependencies/install_openvino_dependencies.sh @@ -213,7 +213,7 @@ elif [ "$os" == "centos7" ] || [ "$os" == "centos8" ] || gstreamer1-plugins-bad-free.$arch ) extra_repos+=(https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm) - elif [ "$os" == "centos8" ] || [ "$os" == "rhel8"] || [ "$os" == "almalinux8.7" ] ; then + elif [ "$os" == "centos8" ] || [ "$os" == "rhel8 "] || [ "$os" == "almalinux8.7" ] ; then pkgs_core+=( https://vault.centos.org/centos/8/AppStream/$arch/os/Packages/tbb-2018.2-9.el8.$arch.rpm https://download-ib01.fedoraproject.org/pub/epel/8/Everything/$arch/Packages/p/pugixml-1.13-1.el8.$arch.rpm