Commit 0d82ef75 authored by Oliver Keeble's avatar Oliver Keeble
Browse files

Make sure all the necessary repos are added (CTA build tree)

parent fa44b29f
......@@ -29,12 +29,16 @@ mkdir -p ~/CTA-build-srpm
echo Installing repos
if [[ "$PUBLIC" == false ]] ; then
sudo yum-config-manager --add-repo=`ls -1 ~/CTA/continuousintegration/docker/ctafrontend/cc7/etc/yum.repos.d/*.repo`
for i in ~/CTA/continuousintegration/docker/ctafrontend/cc7/etc/yum.repos.d/*.repo; do
sudo yum-config-manager --add-repo=$i
done
else
sudo wget https://public-yum.oracle.com/RPM-GPG-KEY-oracle-ol7 -O /etc/pki/rpm-gpg/RPM-GPG-KEY-oracle
sudo wget https://git.ceph.com/release.asc -O /etc/pki/rpm-gpg/RPM-ASC-KEY-ceph
sudo yum-config-manager --add-repo=`ls -1 ~/CTA/continuousintegration/docker/ctafrontend/cc7/etc/yum.repos.d-public/*.repo`
for i in ~/CTA/continuousintegration/docker/ctafrontend/cc7/etc/yum.repos.d/*.repo; do
sudo yum-config-manager --add-repo=$i
done
fi
sudo yum install -y yum-plugin-priorities
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment