summaryrefslogtreecommitdiffstats
path: root/meta/files
diff options
context:
space:
mode:
authorTodor Minchev <todor.minchev@linux.intel.com>2016-10-04 08:47:11 -0700
committerRichard Purdie <richard.purdie@linuxfoundation.org>2016-10-11 22:59:35 +0100
commit1c85c29363099113fcf2ba45831769b5f3555d73 (patch)
treec36436129479459f60eb78a22d3aa284a0df9b31 /meta/files
parentdf80b8107660d40000226d66f5c981f437f79325 (diff)
downloadpoky-1c85c29363099113fcf2ba45831769b5f3555d73.tar.gz
sdk-installer: Fix unclear SDK installer message
When the host and the SDK architectures are incompatible the SDK installer outputs an incomplete error message "Error: Installation machine not supported!". This commit adds a more verbose error message e.g "Error: Incompatible SDK installer! Your host is i686 and this SDK was built for x86_64 hosts." (From OE-Core rev: dc3964f1c3457cc1265d1ed0095c0c491a97b47f) Signed-off-by: Todor Minchev <todor.minchev@linux.intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/files')
-rw-r--r--meta/files/toolchain-shar-extract.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/files/toolchain-shar-extract.sh b/meta/files/toolchain-shar-extract.sh
index 66c017f50d..9295ddc869 100644
--- a/meta/files/toolchain-shar-extract.sh
+++ b/meta/files/toolchain-shar-extract.sh
@@ -28,7 +28,7 @@ fi
28if [ "$INST_ARCH" != "$SDK_ARCH" ]; then 28if [ "$INST_ARCH" != "$SDK_ARCH" ]; then
29 # Allow for installation of ix86 SDK on x86_64 host 29 # Allow for installation of ix86 SDK on x86_64 host
30 if [ "$INST_ARCH" != x86_64 -o "$SDK_ARCH" != ix86 ]; then 30 if [ "$INST_ARCH" != x86_64 -o "$SDK_ARCH" != ix86 ]; then
31 echo "Error: Installation machine not supported!" 31 echo "Error: Incompatible SDK installer! Your host is $INST_ARCH and this SDK was built for $SDK_ARCH hosts."
32 exit 1 32 exit 1
33 fi 33 fi
34fi 34fi