]> code.ossystems Code Review - openembedded-core.git/commitdiff
sdk-installer: Fix unclear SDK installer message
authorTodor Minchev <todor.minchev@linux.intel.com>
Tue, 4 Oct 2016 15:47:11 +0000 (08:47 -0700)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Tue, 11 Oct 2016 21:55:56 +0000 (22:55 +0100)
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."

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>
meta/files/toolchain-shar-extract.sh

index 66c017f50d8232cb616eedf954d255ff6c807818..9295ddc8695c0d01dde859cccd4f58231e63de75 100644 (file)
@@ -28,7 +28,7 @@ fi
 if [ "$INST_ARCH" != "$SDK_ARCH" ]; then
        # Allow for installation of ix86 SDK on x86_64 host
        if [ "$INST_ARCH" != x86_64 -o "$SDK_ARCH" != ix86 ]; then
-               echo "Error: Installation machine not supported!"
+               echo "Error: Incompatible SDK installer! Your host is $INST_ARCH and this SDK was built for $SDK_ARCH hosts."
                exit 1
        fi
 fi