Create mips64el chroots on Loongson 3 buildds, II
[mirror/dsa-puppet.git] / modules / schroot / files / setup-all-dchroots
index 7e534d4..70bfd77 100755 (executable)
@@ -55,6 +55,9 @@ get_suites() {
       kfreebsd-*)
         echo "sid         jessie wheezy"
         ;;
+      mips64el)
+        echo "sid"
+        ;;
       ppc64)
         echo "sid"
         ;;
@@ -71,6 +74,7 @@ case `hostname` in
         archs="ppc64"
         extra="$extra -m http://ftp.de.debian.org/debian-ports"
         extra="$extra -k /root/debian-ports-archive-2015.gpg"
+        extra="$extra -I debian-ports-archive-keyring"
         ;;
     *)
         archs="$DPKGARCH"
@@ -92,6 +96,14 @@ case `hostname` in
                     archs="$archs armhf"
                 fi
                 ;;
+            mips64el)
+                archs="$archs mipsel"
+                ;;
+            mipsel)
+                if grep -w "Loongson-3" -q /proc/cpuinfo ; then
+                    archs="$archs mips64el"
+                fi
+                ;;
             s390|s390x)
                 archs="s390 s390x"
                 ;;