aboutsummaryrefslogtreecommitdiff
path: root/pbuilderrc.dot.link
diff options
context:
space:
mode:
Diffstat (limited to 'pbuilderrc.dot.link')
-rw-r--r--pbuilderrc.dot.link18
1 files changed, 18 insertions, 0 deletions
diff --git a/pbuilderrc.dot.link b/pbuilderrc.dot.link
index ceaf8ef..4e2ce12 100644
--- a/pbuilderrc.dot.link
+++ b/pbuilderrc.dot.link
@@ -1,2 +1,20 @@
# Custom hooks
HOOKDIR="$HOME/.config/pbuilder/hooks/"
+
+# Default dist
+if [ -z "${DIST}" ]; then
+ DIST="sid"
+fi
+
+# Default arch
+if [ -z "${ARCH}" ]; then
+ ARCH="amd64"
+fi
+
+# Multiple pbuilders
+# https://wiki.ubuntu.com/PbuilderHowto#Multiple_pbuilders
+# https://wiki.debian.org/cowbuilder#Building_your_package_for_many_distributions_at_once
+BASEPATH="/var/cache/pbuilder/$DIST-$ARCH/base.cow/"
+BUILDRESULT="/var/cache/pbuilder/$DIST-$ARCH/result/"
+APTCACHE="/var/cache/pbuilder/$DIST-$ARCH/aptcache/"
+BUILDPLACE="/var/cache/pbuilder/build/"