aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMaxim Kuvyrkov <maxim.kuvyrkov@linaro.org>2016-02-02 14:10:20 +0000
committerMaxim Kuvyrkov <maxim.kuvyrkov@linaro.org>2016-02-02 14:12:55 +0000
commitfb81d31e3cb8fba013663c42189d37e24a5146ab (patch)
treeeb673d63b5c61c1e0795b936eb7328b716ba4d15
parentbb6251a0511991211907dc4629ac56de53edc841 (diff)
scripts/test-schroot.sh: Handle armv[78]l-linux-gnueabihf targets
This patch fixes https://bugs.linaro.org/show_bug.cgi?id=2015 by adding armv[78]l-linux-gnueabihf to the list of allowed armhf variants. Change-Id: Icfd7012911333dc661bb97f34d305657be6103de
-rwxr-xr-xscripts/test-schroot.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/test-schroot.sh b/scripts/test-schroot.sh
index 915b3c68..53bf804e 100755
--- a/scripts/test-schroot.sh
+++ b/scripts/test-schroot.sh
@@ -47,7 +47,7 @@ triplet_to_deb_arch()
set -e
case "$1" in
aarch64-*linux-gnu) echo arm64 ;;
- arm-*linux-gnueabi*) echo armhf ;;
+ arm*-*linux-gnueabi*) echo armhf ;;
i686-*linux-gnu) echo i386 ;;
x86_64-*linux-gnu) echo amd64 ;;
*) return 1 ;;
@@ -59,7 +59,7 @@ triplet_to_deb_dist()
set -e
case "$arch" in
aarch64-*linux-gnu) echo trusty ;;
- arm-*linux-gnueabi*) echo trusty ;;
+ arm*-*linux-gnueabi*) echo trusty ;;
i686-*linux-gnu) echo trusty ;;
x86_64-*linux-gnu) echo trusty ;;
*) return 1 ;;