blob: eb92cc7a9e98482f301a2fa301e0d31426a9376e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
|
#!/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"
fi
if [ -n "${DIST}" ] && [ -n "${CODENAME}" ] && [ -n "${ARCH}" ]; then
if [ "x${DIST}" = "xubuntu" ]; then
MIRRORSITE="http://de.archive.ubuntu.com/ubuntu"
else
MIRRORSITE="http://ftp.de.debian.org/debian"
OTHERMIRROR="deb http://code.x2go.org/debian $CODENAME main"
fi
BASETGZ="$BASEDIRECTORY/base-$DIST-$CODENAME-$ARCH.tgz"
DISTRIBUTION="$CODENAME"
BUILDRESULT="$BASEDIRECTORY/$DIST-$CODENAME-$ARCH/result/"
APTCACHE="$BASEDIRECTORY/$DIST-$CODENAME-$ARCH/aptcache/"
fi
export OTHERMIRROR
|