diff options
author | Mike Gabriel <mike.gabriel@das-netzwerkteam.de> | 2011-12-21 01:15:39 +0100 |
---|---|---|
committer | Mike Gabriel <mike.gabriel@das-netzwerkteam.de> | 2011-12-21 01:15:39 +0100 |
commit | eb1b39a01104834dd56aafc21bee53d9ae5da78b (patch) | |
tree | 7bf2d40044eb93a5f9072267d2523f8428802ab1 /home | |
parent | 7ad1d8f6aa0690a9062a316c2403c69ac1dad1f5 (diff) | |
download | buildscripts-eb1b39a01104834dd56aafc21bee53d9ae5da78b.tar.gz buildscripts-eb1b39a01104834dd56aafc21bee53d9ae5da78b.tar.bz2 buildscripts-eb1b39a01104834dd56aafc21bee53d9ae5da78b.zip |
restore .pbuilderrc
Diffstat (limited to 'home')
-rw-r--r-- | home/.pbuilderrc | 49 |
1 files changed, 49 insertions, 0 deletions
diff --git a/home/.pbuilderrc b/home/.pbuilderrc new file mode 100644 index 0000000..f52a77f --- /dev/null +++ b/home/.pbuilderrc @@ -0,0 +1,49 @@ +#!/bin/bash + +set -x + +BASEDIRECTORY="/srv/pbuilder/cache" + +DIST=${DIST:-debian} +CODENAME=${CODENAME:-sid} +ARCH=${ARCH:-amd64} +COMPONENT="${COMPONENT:-nightly}" + +# pbuilder options +BASETGZ="$BASEDIRECTORY/base-$DIST-$CODENAME-$ARCH.tgz" +DISTRIBUTION="$CODENAME" +BUILDRESULT="$BASEDIRECTORY/$DIST-$CODENAME-$ARCH/result/" +APTCACHE="$BASEDIRECTORY/$DIST-$CODENAME-$ARCH/aptcache/" + +BUILDRESULTUID=$(id -u) +BUILDRESULTGID=$(id -g) + +# this needs to be disabled +CCACHEDIR= +APTCACHEHARDLINK="yes" +USE_DEBUILD_INTERNAL="yes" +PRESERVE_BUILDPLACE="yes" + +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 +ARCH_DISKDEVICE=sd +if [ "x$ARCH" = "xarmel" ]; then + MEMORY_MEGS=256 + INITRD="" +else + MEMORY_MEGS=512 + INITRD=/srv/pbuilder/qemu-kernels/$ARCH/initrd.img +fi + +if [ "x${DIST}" = "xubuntu" ]; then + MIRRORSITE="http://localhost:3142/ubuntu" +elif [ "x${DIST}" = "xdebian" ]; then + MIRRORSITE="http://localhost:3142/debian" +fi + |