Skip to content

Commit

Permalink
Enable CRB and EPEL if we are running with the EPEL profile
Browse files Browse the repository at this point in the history
Fixes: OSCI-6783

Signed-off-by: Michal Srb <michal@redhat.com>
  • Loading branch information
msrb committed Sep 20, 2024
1 parent 5f21d2b commit 863381d
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions prepare.sh
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,14 @@ set +e

# prepare the system for testing
mtps-prepare-system -p "${PROFILE_NAME}" --fixrepo --enablebuildroot

if [[ "$PROFILE_NAME" == epel* ]]; then
# enable CRB and EPEL
echo "Enabling CRB and EPEL..."
yum config-manager --enable crb
yum -y install epel-release
fi

mtps-get-task --createrepo --installrepofile --recursive --task="$TASK_ID" --download=/var/lib/brew-repo
rc="$?"
if [[ "$rc" -ne 0 ]]; then
Expand Down

0 comments on commit 863381d

Please sign in to comment.