# vim: set filetype=sh : COMPONENTS="main contrib non-free" : ${DIST:=sid} #: ${DIST:=$(lsb_release --short --codename)} : ${ARCH:=$(dpkg --print-architecture)} NAME="$DIST-$ARCH" DISTRIBUTION="$DIST" DEBOOTSTRAPOPTS=("--arch" "$ARCH" "${DEBOOTSTRAPOPTS[@]}") BASETGZ="`dirname $BASETGZ`/$NAME-base.tgz" BUILDRESULT="/var/cache/pbuilder/$NAME/result/" APTCACHE="/var/cache/pbuilder/$NAME/aptcache/" case "$DIST" in lenny|etch|squeeze|wheezy|stable|testing|sid|unstable|experimental) # debian specific MIRRORSITE="http://ftp.debian.org/debian/" COMPONENTS="main contrib non-free" OTHERMIRROR="deb http://localhost/debian/ $DIST main" ;; intrepid|hardy|gutsy) # ubuntu specific MIRRORSITE="http://archive.ubuntu.com/ubuntu/" COMPONENTS="main restricted universe multiverse" EXTRAPACKAGES="ubuntu-archive-keyring" ;; *) echo "Unknown distribution: $DIST" exit 1 ;; esac