aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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