aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--pbuilderrc.dot.link7
1 files changed, 6 insertions, 1 deletions
diff --git a/pbuilderrc.dot.link b/pbuilderrc.dot.link
index d2d1139..9f53700 100644
--- a/pbuilderrc.dot.link
+++ b/pbuilderrc.dot.link
@@ -16,10 +16,15 @@ fi
# Map distribution option to our env variable
DISTRIBUTION="$DIST"
+# Components
+COMPONENTS="main contrib non-free"
+
# 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"
+if [ "$DIST" != "sid" ]; then
+ OTHERMIRROR="deb http://http.debian.net/debian/ $DIST-backports $COMPONENTS"
+fi
# Multiple pbuilders
# https://wiki.ubuntu.com/PbuilderHowto#Multiple_pbuilders