]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph-build.git/commitdiff
build_utils.sh: remove pbuilder's --mirror option for Debian 2238/head
authorDan Mick <dmick@redhat.com>
Wed, 15 May 2024 19:03:26 +0000 (12:03 -0700)
committerDan Mick <dmick@redhat.com>
Wed, 15 May 2024 19:03:26 +0000 (12:03 -0700)
The existing mirror is defunct, and hard-stopping bookworm builds.
For now, let's just revert to not specifying a mirror (as we have
in the past for other repo configurations) and solve any problems
that result if they pop up.

Signed-off-by: Dan Mick <dmick@redhat.com>
scripts/build_utils.sh

index 37e10333024a3a65b23df2e4b6c95f14980b4b84..090159f384d516793878b7ff6073580ca44a4b10 100755 (executable)
@@ -555,7 +555,11 @@ setup_pbuilder() {
     [ "$DIST" = "jammy" ] && os="ubuntu"
 
     if [ $os = "debian" ]; then
-        mirror="http://www.gtlib.gatech.edu/pub/debian"
+        # this mirror seems to have been decommissioned.  Like other
+        # places where we add specific package mirrors, let's revert
+        # to default (unspecified) for now until we decide there's
+        # a problem we need to address.
+        # mirror="http://www.gtlib.gatech.edu/pub/debian"
         if [ "$DIST" = "jessie" ]; then
           # despite the fact we're building for jessie, pbuilder was failing due to
           # missing wheezy key 8B48AD6246925553.  Pointing pbuilder at the archive
@@ -617,7 +621,9 @@ setup_pbuilder() {
     local opts
     opts+=" --basetgz $basedir/$DIST.tgz"
     opts+=" --distribution $DIST"
-    opts+=" --mirror $mirror"
+    if [ -n "$mirror" ] ; then
+        opts+=" --mirror $mirror"
+    fi
 
     if [ -n "$use_gcc" ]; then
         # Newer pbuilder versions set $HOME to /nonexistent which breaks all kinds of