1 # The distribution should be correct in your changelog file.
2 # Uncomment this line to use the one listed there:
3 # https://wiki.ubuntu.com/PbuilderHowto
4 #DIST=`dpkg-parsechangelog | awk '/^Distribution: / {print $2}'`
6 : ${DIST:=$(lsb_release --short --codename)}
7 : ${ARCH:=$(dpkg --print-architecture)}
10 # We avoid keyring in assignment below. bug 4122
11 DEBOOTSTRAPOPTS=("--arch" "$ARCH" --variant=buildd)
12 BASETGZ="`dirname $BASETGZ`/$NAME-base.tgz"
13 #BUILDRESULT="/var/cache/pbuilder/$NAME/result/"
15 APTCACHE="/var/cache/pbuilder/$NAME/aptcache/"
19 # See https://www.mail-archive.com/debian-bugs-closed@lists.debian.org/msg445261.html --malc
22 # http://releases.ubuntu.com/releases/
24 vivid|utopic|trusty|saucy|raring|quantal|precise|oneiric|natty|maverick|lucid|karmic) # ubuntu specific
25 # MIRRORSITE="http://ftp.df.lth.se/ubuntu/"
26 MIRRORSITE="http://mirrors.dotsrc.org/ubuntu/"
27 # MIRRORSITE="http://mirrors.kernel.org/ubuntu/"
28 COMPONENTS="main restricted universe multiverse"
29 OTHERMIRROR="deb http://ftp.indexdata.dk/ubuntu $DIST main"
31 jessie|wheezy|squeeze|lenny|etch) # debian specific
32 MIRRORSITE="http://ftp.se.debian.org/debian/"
33 COMPONENTS="main contrib non-free"
34 OTHERMIRROR="deb http://ftp.indexdata.dk/debian $DIST main"
37 echo "Unknown distribution: $DIST"