Skip to content

Commit

Permalink
Merge pull request #1839 from pjcreath/use-oracle-epel
Browse files Browse the repository at this point in the history
Install Oracle's EPEL repo on Oracle Linux 7 and 8.
  • Loading branch information
garethgreenaway authored Sep 15, 2022
2 parents 88a915b + b2b4cb0 commit c24a2ba
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions bootstrap-salt.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5287,6 +5287,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
}
Expand Down

0 comments on commit c24a2ba

Please sign in to comment.