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>
This commit is contained in:
parent
df80b81076
commit
1c85c29363
|
@ -28,7 +28,7 @@ fi
|
||||||
if [ "$INST_ARCH" != "$SDK_ARCH" ]; then
|
if [ "$INST_ARCH" != "$SDK_ARCH" ]; then
|
||||||
# Allow for installation of ix86 SDK on x86_64 host
|
# Allow for installation of ix86 SDK on x86_64 host
|
||||||
if [ "$INST_ARCH" != x86_64 -o "$SDK_ARCH" != ix86 ]; then
|
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
|
exit 1
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Reference in New Issue