Bug 3269 - The relocatable SDK should have a system arch check before continuing the installation
Summary: The relocatable SDK should have a system arch check before continuing the ins...
Status: VERIFIED FIXED
Alias: None
Product: ADT
Classification: Yocto Project Subprojects
Component: adt (show other bugs)
Version: 1.3
Hardware: x86 Multiple
: Medium normal
Target Milestone: 1.4 M1
Assignee: Laurentiu Palcu
QA Contact:
URL:
Whiteboard: (Patch review)
Depends on:
Blocks:
 
Reported: 2012-10-10 12:51 UTC by Alexandru Georgescu
Modified: 2012-12-05 13:35 UTC (History)
3 users (show)

See Also:
OS type for building Yocto: ---
Type of Regression: ---
Verified:
Documentation change: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Alexandru Georgescu 2012-10-10 12:51:52 UTC
Currently, the standalone SDK for a 64bit machine can be installed on a 32bit machine. By mistake, a user can download the wrong SDK for his architecture, and so his tests will fail.

An architecture check should be done before starting the installation process, so that the user acknowledges the architecture mismatch.

e.g: 

[yocto@yocto-hp1 toolchains]$ uname -m
i686
[yocto@yocto-hp1 toolchains]$ bash poky-eglibc-x86_64-i586-toolchain-gmae-1.3.sh
Enter target directory for SDK (default: /opt/poky/1.3): ./sdk-test
You are about to install the SDK to "/home/yocto/tmp/toolchains/sdk-test". Proceed[Y/n]?y
Extracting SDK...
Comment 1 Laurentiu Palcu 2012-11-01 13:24:53 UTC
Patch sent to the mailing list for review.
Comment 3 Alexandru Georgescu 2012-12-05 13:35:48 UTC
verified.