Skip to content

Commit f77ef0f

Browse files
artanokhovakladiev
andauthored
install_openvino_dependencies: Updated URL for rhel8 ocl-icd rpm (openvinotoolkit#29066)
### Details: - Updated URL for ocl-icd on rhel8 --------- Co-authored-by: Alina Kladieva <alina.kladieva@intel.com>
1 parent 47ff118 commit f77ef0f

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

.github/dockerfiles/docker_tag

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
pr-28725
1+
pr-29066

scripts/install_dependencies/install_openvino_dependencies.sh

+3-3
Original file line numberDiff line numberDiff line change
@@ -219,7 +219,7 @@ elif [ "$os" == "centos7" ] || [ "$os" == "centos8" ] || [ "$os" == "centos9" ]
219219
pkgs_gpu+=("ocl-icd.$arch")
220220
extra_repos+=("https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm")
221221
elif [ "$os" == "rhel8" ] ; then
222-
pkgs_gpu+=("http://mirror.centos.org/centos/8-stream/AppStream/$arch/os/Packages/ocl-icd-2.2.12-1.el8.$arch.rpm")
222+
pkgs_gpu+=("http://vault.centos.org/centos/8-stream/AppStream/$arch/os/Packages/ocl-icd-2.2.12-1.el8.$arch.rpm")
223223
pkgs_python+=(python38 python38-pip)
224224
extra_repos+=("https://dl.fedoraproject.org/pub/epel/epel-release-latest-8.noarch.rpm")
225225
elif [ "$os" == "rhel9.1" ] || [ "$os" == "rhel9.2" ] || [ "$os" == "rhel9.3" ] || [ "$os" == "rhel9.4" ] ; then
@@ -302,9 +302,9 @@ elif [ "$os" == "centos7" ] || [ "$os" == "centos8" ] || [ "$os" == "centos9" ]
302302
[ -z "$interactive" ] && iopt="--assumeyes"
303303
[ -n "$dry" ] && iopt="--downloadonly"
304304
[ -n "$keepcache" ] && iopt="$iopt --setopt=keepcache=1"
305-
[ -n "$extra" ] && [ ${#extra_repos[@]} -ne 0 ] && yum localinstall "$iopt" --nogpgcheck "${extra_repos[@]}"
305+
[ -n "$extra" ] && [ ${#extra_repos[@]} -ne 0 ] && yum localinstall ${iopt:+$iopt} --nogpgcheck "${extra_repos[@]}"
306306

307-
yum install "$iopt" "${pkgs[@]}"
307+
yum install ${iopt:+$iopt} "${pkgs[@]}"
308308

309309
elif [ "$os" == "opensuse-leap15.3" ] ; then
310310

0 commit comments

Comments
 (0)