schroot-dsa/config: fix mirror without default-mirror file
[mirror/dsa-puppet.git] / modules / schroot / files / setup-all-dchroots
index b2c0a6e..70bfd77 100755 (executable)
@@ -55,6 +55,9 @@ get_suites() {
       kfreebsd-*)
         echo "sid         jessie wheezy"
         ;;
+      mips64el)
+        echo "sid"
+        ;;
       ppc64)
         echo "sid"
         ;;
@@ -93,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"
                 ;;