summaryrefslogtreecommitdiffstats
path: root/install-deps.sh
diff options
context:
space:
mode:
authorKefu Chai <kchai@redhat.com>2019-10-30 05:53:29 +0100
committerKefu Chai <kchai@redhat.com>2019-10-30 05:55:52 +0100
commit32aaa44904d9a77936bbb8e1b7bacc598ffcfc7b (patch)
tree79107cbd813d7a8fc0f7e61022eb796bfbfcf778 /install-deps.sh
parentMerge PR #30369 into master (diff)
downloadceph-32aaa44904d9a77936bbb8e1b7bacc598ffcfc7b.tar.xz
ceph-32aaa44904d9a77936bbb8e1b7bacc598ffcfc7b.zip
install-deps.sh: use sepia/lab-extra/8
some build dependencies are still missing in PowerTools and EPEL8, so we built and pushed them to sepia so it can be used before they are ready in these repos. Signed-off-by: Kefu Chai <kchai@redhat.com>
Diffstat (limited to 'install-deps.sh')
-rwxr-xr-xinstall-deps.sh3
1 files changed, 3 insertions, 0 deletions
diff --git a/install-deps.sh b/install-deps.sh
index 7c4732efc30..be7f4e35113 100755
--- a/install-deps.sh
+++ b/install-deps.sh
@@ -391,6 +391,9 @@ else
dts_ver=8
elif test $ID = centos -a $MAJOR_VERSION = 8 ; then
$SUDO dnf config-manager --set-enabled PowerTools
+ # before EPEL8 and PowerTools provide all dependencies, we use sepia for the dependencies
+ $SUDO dnf config-manager --add-repo http://apt-mirror.front.sepia.ceph.com/lab-extras/8/
+ $SUDO dnf config-manager --setopt gpgcheck=0 apt-mirror.front.sepia.ceph.com_lab-extras_8_ --save
elif test $ID = rhel -a $MAJOR_VERSION = 8 ; then
$SUDO subscription-manager repos --enable "codeready-builder-for-rhel-8-*-rpms"
fi