]> git.apps.os.sepia.ceph.com Git - ceph-build.git/commitdiff
ceph-*-build: skip unavailable repo when yum-builddep 1396/head
authorBrad Hubbard <bhubbard@redhat.com>
Wed, 18 Sep 2019 07:12:22 +0000 (17:12 +1000)
committerBrad Hubbard <bhubbard@redhat.com>
Wed, 18 Sep 2019 07:12:22 +0000 (17:12 +1000)
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.

Signed-off-by: Brad Hubbard <bhubbard@redhat.com>
ceph-build/build/setup_rpm
ceph-dev-build/build/setup_rpm
ceph-dev-new-build/build/setup_rpm

index 6905a103762b0352b6db2498ec3287dd75e56683..3c52577cefebba3c685a72a62e1a05f10653a8a1 100644 (file)
@@ -45,7 +45,7 @@ sed -e 's/@//g' < ceph.spec.in > $DIR/ceph.spec
 # python2-rpm-macro we use for identify the python related dependencies
 $SUDO yum install -y python36-devel
 
-$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 057968915a4b31eac64fa2cc2a807dea78f9ac40..525b248cf2f3693daa35dae464fe547864eb9ee5 100644 (file)
@@ -45,7 +45,7 @@ sed -e 's/@//g' < ceph.spec.in > $DIR/ceph.spec
 # python2-rpm-macro we use for identify the python related dependencies
 $SUDO yum install -y python36-devel
 
-$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 057968915a4b31eac64fa2cc2a807dea78f9ac40..525b248cf2f3693daa35dae464fe547864eb9ee5 100644 (file)
@@ -45,7 +45,7 @@ sed -e 's/@//g' < ceph.spec.in > $DIR/ceph.spec
 # python2-rpm-macro we use for identify the python related dependencies
 $SUDO yum install -y python36-devel
 
-$SUDO yum-builddep -y $DIR/ceph.spec
+$SUDO yum-builddep -y --setopt=*.skip_if_unavailable=true $DIR/ceph.spec
 
 BRANCH=`branch_slash_filter $BRANCH`