setup-all-dchroots: use the 2017 key for debian-ports
[mirror/dsa-puppet.git] / modules / schroot / files / setup-all-dchroots
index f528b3b..92e5e59 100755 (executable)
@@ -43,26 +43,25 @@ fi
 
 get_suites() {
     case "$1" in
-      ia64|s390|sparc)
-        echo "wheezy"
-        ;;
-      arm64|ppc64el)
-        echo "sid stretch jessie"
-        ;;
-      amd64|i386)
-        echo "sid stretch jessie wheezy squeeze"
+      amd64|i386|armel|armhf)
+        echo "sid stretch jessie wheezy"
         ;;
       kfreebsd-*)
-        echo "sid         jessie wheezy"
+        echo "sid         jessie"
         ;;
       mips64el)
-        echo "sid"
+        echo "sid stretch"
+        ;;
+      powerpc)
+        echo "sid         jessie"
         ;;
       ppc64)
         echo "sid"
         ;;
+      ia64)
+       ;;
       *)
-        echo "sid stretch jessie wheezy"
+        echo "sid stretch jessie"
         ;;
     esac
 }
@@ -73,7 +72,7 @@ case `hostname` in
     pizzetti)
         archs="ppc64"
         extra="$extra -m http://ftp.de.debian.org/debian-ports"
-        extra="$extra -k /root/debian-ports-archive-2015.gpg"
+        extra="$extra -k /root/debian-ports-archive-2017.gpg"
         extra="$extra -I debian-ports-archive-keyring"
         ;;
     *)
@@ -100,12 +99,7 @@ case `hostname` in
                 archs="$archs mipsel"
                 ;;
             mipsel)
-                if grep -w "Loongson-3" /proc/cpuinfo ; then
-                    archs="$archs mips64el"
-                fi
-                ;;
-            s390|s390x)
-                archs="s390 s390x"
+                archs="$archs mips64el"
                 ;;
         esac
     ;;