diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2014-09-11 23:01:33 -0300 |
---|---|---|
committer | Silvio Rhatto <rhatto@riseup.net> | 2014-09-11 23:01:33 -0300 |
commit | 976d5c7280facadc957229aedbc3d3101f49274f (patch) | |
tree | 661f57b3959ddd9f8e235e4c3564345fde703f9d | |
parent | 50a34f96caa6f5b17f313f190a2d945f93bb95f7 (diff) | |
download | debian-976d5c7280facadc957229aedbc3d3101f49274f.tar.gz debian-976d5c7280facadc957229aedbc3d3101f49274f.tar.bz2 |
Adding pbuilder backport hook
-rw-r--r-- | pbuilderrc.dot.link | 7 |
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 |