]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph-build.git/commitdiff
Use apt-mirror for pbuilder.
authorSandon Van Ness <sandon@inktank.com>
Fri, 3 Oct 2014 18:43:04 +0000 (11:43 -0700)
committerSandon Van Ness <sandon@inktank.com>
Fri, 3 Oct 2014 18:43:04 +0000 (11:43 -0700)
Signed-off-by: Sandon Van Ness <sandon@inktank.com>
update_pbuilder.sh

index 9303e0267d741025d194f6731f2d910a48d378be..ea367439152e4896e823ea44396f60c39e9fc84f 100755 (executable)
@@ -30,11 +30,11 @@ do
     [ "$dist" = "lucid" ] && os="ubuntu"
     
     if [ $os = "debian" ]; then
-        mirror="http://http.us.debian.org/debian"
+        mirror="http://apt-mirror.sepia.ceph.com/ftp.us.debian.org/debian"
         othermirror=""
     else
         mirror=""
-        othermirror="deb http://archive.ubuntu.com/ubuntu $dist main restricted universe multiverse"
+        othermirror="deb http://apt-mirror.sepia.ceph.com/archive.ubuntu.com/ubuntu $dist main restricted universe multiverse"
     fi
     
     pbuilder --clean