From 22ac01de186c971fd962bbecb4ad013e30c55b57 Mon Sep 17 00:00:00 2001 From: pjcreath Date: Fri, 17 Jun 2022 20:58:32 +0000 Subject: [PATCH] Install Oracle's EPEL repo on Oracle Linux 7 and 8. --- bootstrap-salt.sh | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/bootstrap-salt.sh b/bootstrap-salt.sh index 4c11c5d19..825b2676f 100644 --- a/bootstrap-salt.sh +++ b/bootstrap-salt.sh @@ -4817,6 +4817,15 @@ install_red_hat_enterprise_workstation_testing_post() { # Oracle Linux Install Functions # install_oracle_linux_stable_deps() { + # Install Oracle's EPEL. + if [ ${_EPEL_REPOS_INSTALLED} -eq $BS_FALSE ]; then + _EPEL_REPO=oracle-epel-release-el${DISTRO_MAJOR_VERSION} + if ! rpm -q "${_EPEL_REPO}" > /dev/null; then + __yum_install_noinput "${_EPEL_REPO}" + fi + _EPEL_REPOS_INSTALLED=$BS_TRUE + fi + install_centos_stable_deps || return 1 return 0 }