From d12308c22fe2852da0cab054b9eaca71966a08fd Mon Sep 17 00:00:00 2001 From: Silvio Rhatto Date: Thu, 11 Sep 2014 19:47:18 -0300 Subject: Initial support for multiple pbuilders --- pbuilderrc.dot.link | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) 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/" -- cgit v1.2.3