All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] sdk-installer: Fix unclear SDK installer message
@ 2016-10-04 15:47 Todor Minchev
  0 siblings, 0 replies; only message in thread
From: Todor Minchev @ 2016-10-04 15:47 UTC (permalink / raw)
  To: yocto; +Cc: Todor Minchev

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>
---
 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
-- 
2.10.1



^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2016-10-04 15:46 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-10-04 15:47 [PATCH] sdk-installer: Fix unclear SDK installer message Todor Minchev

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.