From 976d5c7280facadc957229aedbc3d3101f49274f Mon Sep 17 00:00:00 2001 From: Silvio Rhatto Date: Thu, 11 Sep 2014 23:01:33 -0300 Subject: Adding pbuilder backport hook --- pbuilderrc.dot.link | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) 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 -- cgit v1.2.3