diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2014-09-11 19:47:18 -0300 |
---|---|---|
committer | Silvio Rhatto <rhatto@riseup.net> | 2014-09-11 19:47:18 -0300 |
commit | d12308c22fe2852da0cab054b9eaca71966a08fd (patch) | |
tree | ce7f13b63aa90dcfceacd72dde6946db4a0d7bb7 | |
parent | d4abbd9332028e5334646cde06b797417749c74e (diff) | |
download | debian-d12308c22fe2852da0cab054b9eaca71966a08fd.tar.gz debian-d12308c22fe2852da0cab054b9eaca71966a08fd.tar.bz2 |
Initial support for multiple pbuilders
-rw-r--r-- | pbuilderrc.dot.link | 18 |
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/" |