[oe-commits] [openembedded-core] branch master updated: sdk-installer: Fix unclear SDK installer message

git at git.openembedded.org git at git.openembedded.org
Tue Oct 11 22:00:55 UTC 2016


rpurdie pushed a commit to branch master
in repository openembedded-core.

The following commit(s) were added to refs/heads/master by this push:
       new  dc3964f   sdk-installer: Fix unclear SDK installer message
dc3964f is described below

commit dc3964f1c3457cc1265d1ed0095c0c491a97b47f
Author: Todor Minchev <todor.minchev at linux.intel.com>
AuthorDate: Tue Oct 4 08:47:11 2016 -0700

    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."
    
    Signed-off-by: Todor Minchev <todor.minchev at linux.intel.com>
    Signed-off-by: Ross Burton <ross.burton at intel.com>
    Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>
---
 meta/files/toolchain-shar-extract.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta/files/toolchain-shar-extract.sh b/meta/files/toolchain-shar-extract.sh
index 66c017f..9295ddc 100644
--- a/meta/files/toolchain-shar-extract.sh
+++ b/meta/files/toolchain-shar-extract.sh
@@ -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

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Openembedded-commits mailing list