diff options
author | Mike Gabriel <mike.gabriel@das-netzwerkteam.de> | 2011-04-21 14:43:02 +0200 |
---|---|---|
committer | X2go Administrator <x2go-admin@ymir.das-netzwerkteam.de> | 2011-04-21 14:44:08 +0200 |
commit | 71a163e11f80a2df73783675d3658e06a42ad41c (patch) | |
tree | 9541bee423d261abec310074d15c896c0efbe66c /home | |
parent | 9361351bd5360af0f0fec49bb953c94463667856 (diff) | |
download | buildscripts-71a163e11f80a2df73783675d3658e06a42ad41c.tar.gz buildscripts-71a163e11f80a2df73783675d3658e06a42ad41c.tar.bz2 buildscripts-71a163e11f80a2df73783675d3658e06a42ad41c.zip |
switching over to pbuilder-uml (user-mode-linux)
Diffstat (limited to 'home')
-rw-r--r-- | home/.pbuilderrc | 19 |
1 files changed, 15 insertions, 4 deletions
diff --git a/home/.pbuilderrc b/home/.pbuilderrc index f82191a..519643e 100644 --- a/home/.pbuilderrc +++ b/home/.pbuilderrc @@ -1,10 +1,20 @@ #!/bin/bash +BASEDIRECTORY="/srv/pbuilder/cache" + DIST=${DIST-debian} CODENAME=${CODENAME-sid} ARCH=${ARCH-amd64} +BUILDRESULTUID=x2go-admin +BUILDRESULTGID=x2go +CCACHEDIR= +APTCACHEHARDLINK="no" +USE_DEBUILD_INTERNAL="yes" +PRESERVE_BUILDPLACE="yes" + if [ "x$ARCH" = "xi386" ]; then DEBBUILDOPTS="-B" + DEBOOTSTRAPOPTS="--arch=$ARCH" fi if [ -n "${DIST}" ] && [ -n "${CODENAME}" ] && [ -n "${ARCH}" ]; then @@ -14,10 +24,11 @@ if [ -n "${DIST}" ] && [ -n "${CODENAME}" ] && [ -n "${ARCH}" ]; then MIRRORSITE="http://ftp.de.debian.org/debian" OTHERMIRROR="deb http://code.x2go.org/debian $CODENAME main" fi - BASETGZ="`dirname $BASETGZ`/base-$DIST-$CODENAME-$ARCH.tgz" + BASETGZ="$BASEDIRECTORY/base-$DIST-$CODENAME-$ARCH.tgz" DISTRIBUTION="$CODENAME" - BUILDRESULT="/var/cache/pbuilder/$DIST-$CODENAME-$ARCH/result/" - APTCACHE="/var/cache/pbuilder/$DIST-$CODENAME-$ARCH/aptcache/" + BUILDRESULT="$BASEDIRECTORY/$DIST-$CODENAME-$ARCH/result/" + APTCACHE="$BASEDIRECTORY/$DIST-$CODENAME-$ARCH/aptcache/" + ARCHITECTURE="$ARCH" fi - export OTHERMIRROR + |