]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
install-deps.sh: use sepia/lab-extra/8 31238/head
authorKefu Chai <kchai@redhat.com>
Wed, 30 Oct 2019 04:53:29 +0000 (12:53 +0800)
committerKefu Chai <kchai@redhat.com>
Wed, 30 Oct 2019 04:55:52 +0000 (12:55 +0800)
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>
install-deps.sh

index 7c4732efc306ca2d03170a59cfb3c611631cc650..be7f4e351131cd7ea1ec0ab49516abaa58df3feb 100755 (executable)
@@ -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