X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=id-deb-build%2Fpbuilderrc;h=4885ecb1f02c67f113ee4ebd366a06c3ed1f5f59;hb=d95607bfe6ae4d9219885c9c283582693f0e168b;hp=73653821e3b1124e5060161182c958537fc417ed;hpb=914758376bc88e2d325854bfdf1d52efe2eaf182;p=git-tools-moved-to-github.git diff --git a/id-deb-build/pbuilderrc b/id-deb-build/pbuilderrc index 7365382..4885ecb 100644 --- a/id-deb-build/pbuilderrc +++ b/id-deb-build/pbuilderrc @@ -7,17 +7,25 @@ : ${ARCH:=$(dpkg --print-architecture)} NAME="$DIST-$ARCH" DISTRIBUTION="$DIST" -DEBOOTSTRAPOPTS=("--arch" "$ARCH" "${DEBOOTSTRAPOPTS[@]}") +# We avoid keyring in assignment below. bug 4122 +DEBOOTSTRAPOPTS=("--arch" "$ARCH" --variant=buildd) BASETGZ="`dirname $BASETGZ`/$NAME-base.tgz" -BUILDRESULT="/var/cache/pbuilder/$NAME/result/" +#BUILDRESULT="/var/cache/pbuilder/$NAME/result/" +BUILDRESULT="$NAME" APTCACHE="/var/cache/pbuilder/$NAME/aptcache/" +ALLOWUNTRUSTED=yes +CCACHEDIR= +# http://releases.ubuntu.com/releases/ case "$DIST" in - intrepid|hardy|gutsy) # ubuntu specific - MIRRORSITE="http://mirrors.kernel.org/ubuntu/" + precise|oneiric|natty|maverick|lucid|karmic) # ubuntu specific + # MIRRORSITE="http://ftp.df.lth.se/ubuntu/" + MIRRORSITE="http://mirrors.dotsrc.org/ubuntu/" + # MIRRORSITE="http://mirrors.kernel.org/ubuntu/" COMPONENTS="main restricted universe multiverse" + OTHERMIRROR="deb http://ftp.indexdata.dk/ubuntu $DIST main" ;; - lenny|etch) # debian specific + wheezy|squeeze|lenny|etch) # debian specific MIRRORSITE="http://ftp.se.debian.org/debian/" COMPONENTS="main contrib non-free" OTHERMIRROR="deb http://ftp.indexdata.dk/debian $DIST main"