Add Ubuntu Wily Werewolf
[git-tools-moved-to-github.git] / id-deb-build / pbuilderrc
index 854060b..501a6de 100644 (file)
@@ -3,8 +3,8 @@
 # https://wiki.ubuntu.com/PbuilderHowto
 #DIST=`dpkg-parsechangelog | awk '/^Distribution: / {print $2}'`
 
-: ${DIST:=$(lsb_release --short --codename)}
-: ${ARCH:=$(dpkg --print-architecture)}
+# : ${DIST:=$(lsb_release --short --codename)}
+# : ${ARCH:=$(dpkg --print-architecture)}
 NAME="$DIST-$ARCH"
 DISTRIBUTION="$DIST"
 # We avoid keyring in assignment below. bug 4122
@@ -16,11 +16,14 @@ APTCACHE="/var/cache/pbuilder/$NAME/aptcache/"
 ALLOWUNTRUSTED=yes
 CCACHEDIR=
 
+# See https://www.mail-archive.com/debian-bugs-closed@lists.debian.org/msg445261.html  --malc
+USENETWORK=yes
+
 # http://releases.ubuntu.com/releases/
 case "$DIST" in
-    trusty|saucy|raring|quantal|precise|oneiric|natty|maverick|lucid|karmic) # ubuntu specific
+    wily|vivid|utopic|trusty|saucy|raring|quantal|precise|oneiric|natty|maverick|lucid|karmic) # ubuntu specific
        # MIRRORSITE="http://ftp.df.lth.se/ubuntu/"
-       MIRRORSITE="http://mirrors.dotsrc.org/ubuntu/"
+       MIRRORSITE="http://mirror.one.com/ubuntu/"
         # MIRRORSITE="http://mirrors.kernel.org/ubuntu/"
         COMPONENTS="main restricted universe multiverse"
        OTHERMIRROR="deb http://ftp.indexdata.dk/ubuntu $DIST main"