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 DEBOOTSTRAPOPTS=("--arch" "$ARCH" "${DEBOOTSTRAPOPTS[@]}")
11 BASETGZ="`dirname $BASETGZ`/$NAME-base.tgz"
12 #BUILDRESULT="/var/cache/pbuilder/$NAME/result/"
14 APTCACHE="/var/cache/pbuilder/$NAME/aptcache/"
16 # http://releases.ubuntu.com/releases/
18 karmic|intrepid|hardy|gutsy|jaunty) # ubuntu specific
19 # MIRRORSITE="http://ftp.df.lth.se/ubuntu/"
20 MIRRORSITE="http://ftp.klid.dk/ftp/ubuntu/"
21 # MIRRORSITE="http://mirrors.kernel.org/ubuntu/"
22 COMPONENTS="main restricted universe multiverse"
23 OTHERMIRROR="deb http://ftp.indexdata.dk/ubuntu $DIST main"
25 squeeze|lenny|etch) # debian specific
26 MIRRORSITE="http://ftp.se.debian.org/debian/"
27 COMPONENTS="main contrib non-free"
28 OTHERMIRROR="deb http://ftp.indexdata.dk/debian $DIST main"
31 echo "Unknown distribution: $DIST"