summaryrefslogtreecommitdiff
path: root/home
diff options
context:
space:
mode:
authorMike Gabriel <mike.gabriel@das-netzwerkteam.de>2011-04-23 00:05:47 +0200
committerX2go Administrator <x2go-admin@ymir.das-netzwerkteam.de>2011-04-23 00:06:24 +0200
commite1bc117ed2abd0af72e3f8f187a42294b0c567ed (patch)
tree1b5ebd807b61873594e75ba14d80b8335b11ae3c /home
parentdd514d79ba8d39e6d240978b1194de7de853b023 (diff)
downloadbuildscripts-e1bc117ed2abd0af72e3f8f187a42294b0c567ed.tar.gz
buildscripts-e1bc117ed2abd0af72e3f8f187a42294b0c567ed.tar.bz2
buildscripts-e1bc117ed2abd0af72e3f8f187a42294b0c567ed.zip
cleanup, switching to qemubuilder
Diffstat (limited to 'home')
-rw-r--r--home/.pbuilderrc51
1 files changed, 34 insertions, 17 deletions
diff --git a/home/.pbuilderrc b/home/.pbuilderrc
index cf3b343..70c1c32 100644
--- a/home/.pbuilderrc
+++ b/home/.pbuilderrc
@@ -5,29 +5,46 @@ DIST=${DIST-debian}
CODENAME=${CODENAME-sid}
ARCH=${ARCH-amd64}
+# pbuilder options
+BASETGZ="$BASEDIRECTORY/base-$DIST-$CODENAME-$ARCH.tgz"
+DISTRIBUTION="$CODENAME"
+BUILDRESULT="$BASEDIRECTORY/$DIST-$CODENAME-$ARCH/result/"
+APTCACHE="$BASEDIRECTORY/$DIST-$CODENAME-$ARCH/aptcache/"
+
BUILDRESULTUID=x2go-admin
BUILDRESULTGID=x2go
+# this needs to be disabled
CCACHEDIR=
-APTCACHEHARDLINK="no"
+APTCACHEHARDLINK="yes"
USE_DEBUILD_INTERNAL="yes"
PRESERVE_BUILDPLACE="yes"
-if [ -n "${DIST}" ] && [ -n "${CODENAME}" ] && [ -n "${ARCH}" ]; then
- if [ "x$ARCH" = "xi386" ]; then
- DEBBUILDOPTS="-B"
- fi
-
- 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/"
- ARCHITECTURE="$ARCH"
+ARCHITECTURE="$ARCH"
+
+# pbuilder-uml option
+UML_DISTRIBUTION="$CODENAME"
+
+# qemubuilder options
+BASEPATH="$BASEDIRECTORY/base-$DIST-$CODENAME-$ARCH.qemu"
+KERNEL_IMAGE=/srv/pbuilder/qemu-kernels/$ARCH/vmlinuz
+INITRD=/srv/pbuilder/qemu-kernels/$ARCH/initrd.img
+ARCH_DISKDEVICE=sd
+if [ "x$ARCH" = "xarmel" ]; then
+ MEMORY_MEGS=256
+else
+ MEMORY_MEGS=512
+fi
+
+if [ "x$ARCH" != "xamd64" ]; then
+ BINARY_ARCH="yes"
+fi
+
+if [ "x${DIST}" = "xubuntu" ]; then
+ MIRRORSITE="http://de.archive.ubuntu.com/ubuntu"
+elif [ "x${DIST}" = "xdebian" ]; then
+ MIRRORSITE="http://ftp.de.debian.org/debian"
+ OTHERMIRROR="deb http://code.x2go.org/debian $CODENAME main"
fi
+
export OTHERMIRROR