]> git.apps.os.sepia.ceph.com Git - ceph-build.git/commitdiff
ceph-*-build: skip unavailable repo when yum-builddep 1221/head
authorKefu Chai <kchai@redhat.com>
Wed, 19 Dec 2018 09:41:50 +0000 (17:41 +0800)
committerKefu Chai <kchai@redhat.com>
Wed, 19 Dec 2018 09:41:51 +0000 (17:41 +0800)
as centos-sclo-rh-source leads us to 404 at this moment. and we are not
using the source repo for building ceph. so we can just skip any
unavailable repo.

Fixes: http://tracker.ceph.com/issues/37707
Signed-off-by: Kefu Chai <kchai@redhat.com>
ceph-build/build/setup_rpm
ceph-dev-build/build/setup_rpm
ceph-dev-new-build/build/setup_rpm

index d5e50fb6db3f5a155f11a78d780ea6879549bf91..6727401ee0d29163c3faccafb505ee419b1444f1 100644 (file)
@@ -38,7 +38,7 @@ elif [ "$ARCH" = arm64 ]; then
     $SUDO yum-config-manager --enable centos-sclo-rh-testing
 fi
 sed -e 's/@//g' < ceph.spec.in > $DIR/ceph.spec
-$SUDO yum-builddep -y $DIR/ceph.spec
+$SUDO yum-builddep -y --setopt=*.skip_if_unavailable=true $DIR/ceph.spec
 
 BRANCH=`branch_slash_filter $BRANCH`
 
index ae0b5e3073b53543575c4cd44914cb031c68cc2a..1a4b49a7555d4c6503fd659210f6892c8d8e8911 100644 (file)
@@ -38,7 +38,7 @@ elif [ "$ARCH" = arm64 ]; then
     $SUDO yum-config-manager --enable centos-sclo-rh-testing
 fi
 sed -e 's/@//g' < ceph.spec.in > $DIR/ceph.spec
-$SUDO yum-builddep -y $DIR/ceph.spec
+$SUDO yum-builddep -y --setopt=*.skip_if_unavailable=true $DIR/ceph.spec
 
 BRANCH=`branch_slash_filter $BRANCH`
 
index ae0b5e3073b53543575c4cd44914cb031c68cc2a..1a4b49a7555d4c6503fd659210f6892c8d8e8911 100644 (file)
@@ -38,7 +38,7 @@ elif [ "$ARCH" = arm64 ]; then
     $SUDO yum-config-manager --enable centos-sclo-rh-testing
 fi
 sed -e 's/@//g' < ceph.spec.in > $DIR/ceph.spec
-$SUDO yum-builddep -y $DIR/ceph.spec
+$SUDO yum-builddep -y --setopt=*.skip_if_unavailable=true $DIR/ceph.spec
 
 BRANCH=`branch_slash_filter $BRANCH`