aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2014-09-11 20:35:42 -0300
committerSilvio Rhatto <rhatto@riseup.net>2014-09-11 20:35:42 -0300
commit1c577db13409979a9e485fff435b71cdef48bddf (patch)
treee27aecaf4c5db407939756d2daa6522e7ce28bb6
parentd12308c22fe2852da0cab054b9eaca71966a08fd (diff)
downloaddebian-1c577db13409979a9e485fff435b71cdef48bddf.tar.gz
debian-1c577db13409979a9e485fff435b71cdef48bddf.tar.bz2
Pbuilder: backports support
-rw-r--r--pbuilderrc.dot.link8
1 files changed, 8 insertions, 0 deletions
diff --git a/pbuilderrc.dot.link b/pbuilderrc.dot.link
index 4e2ce12..895a2e0 100644
--- a/pbuilderrc.dot.link
+++ b/pbuilderrc.dot.link
@@ -11,6 +11,14 @@ if [ -z "${ARCH}" ]; then
ARCH="amd64"
fi
+# Map distribution option to our env variable
+DISTRIBUTION="$DIST"
+
+# Backports
+# https://wiki.ubuntu.com/PbuilderHowto#Using_backport_repositories_in_pbuilder
+# https://wiki.debian.org/BuildingFormalBackports#Building_multi-dependencies_packages
+OTHERMIRROR="deb http://http.debian.net/debian/ $DIST-backports main contrib non-free"
+
# Multiple pbuilders
# https://wiki.ubuntu.com/PbuilderHowto#Multiple_pbuilders
# https://wiki.debian.org/cowbuilder#Building_your_package_for_many_distributions_at_once