bacula-director needs DNS to launch
[mirror/dsa-puppet.git] / modules / schroot / files / setup-all-dchroots
index 1a03692..f29d0a0 100755 (executable)
@@ -43,23 +43,23 @@ fi
 
 get_suites() {
     case "$1" in
-      ia64|s390|sparc)
-        echo "wheezy"
+      amd64|i386|armel|armhf)
+        echo "sid buster stretch jessie wheezy"
         ;;
-      arm64|ppc64el)
-        echo "sid stretch jessie"
+      kfreebsd-*)
+        echo "sid         jessie"
         ;;
-      amd64|i386)
-        echo "sid stretch jessie wheezy squeeze"
+      mips64el)
+        echo "sid buster stretch"
         ;;
-      kfreebsd-*)
-        echo "sid         jessie wheezy"
+      powerpc)
+        echo "sid         jessie"
         ;;
       ppc64)
         echo "sid"
         ;;
       *)
-        echo "sid stretch jessie wheezy"
+        echo "sid buster stretch jessie"
         ;;
     esac
 }
@@ -69,8 +69,9 @@ extra=""
 case `hostname` in
     pizzetti)
         archs="ppc64"
-        extra="$extra -m http://debian-ports.org/debian-ports"
-        extra="$extra -k /root/debian-ports-archive-2015.gpg"
+        extra="$extra -m http://ftp.de.debian.org/debian-ports"
+        extra="$extra -k /root/debian-ports-archive-2017.gpg"
+        extra="$extra -I debian-ports-archive-keyring"
         ;;
     *)
         archs="$DPKGARCH"
@@ -92,8 +93,11 @@ case `hostname` in
                     archs="$archs armhf"
                 fi
                 ;;
-            s390|s390x)
-                archs="s390 s390x"
+            mips64el)
+                archs="$archs mipsel"
+                ;;
+            mipsel)
+                archs="$archs mips64el"
                 ;;
         esac
     ;;
@@ -114,7 +118,7 @@ do_one() {
             fi
             ;;
         porterbox)
-            if ! chronic setup-dchroot -f -a "$a" "$s"
+            if ! chronic setup-dchroot -f -a "$a" $extra "$s"
             then
                 return 1
             fi