Create mips64el chroots on Loongson 3 buildds
authorAurelien Jarno <aurelien@aurel32.net>
Tue, 25 Aug 2015 19:27:15 +0000 (21:27 +0200)
committerAurelien Jarno <aurelien@aurel32.net>
Tue, 25 Aug 2015 19:27:15 +0000 (21:27 +0200)
modules/schroot/files/setup-all-dchroots

index b2c0a6e..f528b3b 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" /proc/cpuinfo ; then
+                    archs="$archs mips64el"
+                fi
+                ;;
             s390|s390x)
                 archs="s390 s390x"
                 ;;