]> git.donarmstrong.com Git - dsa-puppet.git/commitdiff
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 b2c0a6e22935b936315a07510ee5a134501c69e1..f528b3b0ce74dcd0b21be13b248571e23b39886b 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"
                 ;;