]> git.apps.os.sepia.ceph.com Git - ceph-build.git/commitdiff
build_utils.sh: re: last commit: one must specify a mirror 2239/head
authorDan Mick <dmick@redhat.com>
Thu, 16 May 2024 06:20:13 +0000 (23:20 -0700)
committerDan Mick <dmick@redhat.com>
Thu, 16 May 2024 06:20:13 +0000 (23:20 -0700)
To pbuild Debian on Ubuntu (as we do), one must specify a mirror
that contains the Debian environments.  Use the most-generic one.

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

index 090159f384d516793878b7ff6073580ca44a4b10..7414b32e8795af85e5afc098935b0b8e3e6c60a4 100755 (executable)
@@ -555,11 +555,9 @@ setup_pbuilder() {
     [ "$DIST" = "jammy" ] && os="ubuntu"
 
     if [ $os = "debian" ]; then
-        # 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.
+        # this mirror seems to have been decommissioned.
         # mirror="http://www.gtlib.gatech.edu/pub/debian"
+        mirror="http://ftp.us.debian.org/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