<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugzilla.yoctoproject.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.6"
          urlbase="https://bugzilla.yoctoproject.org/"
          
          maintainer="it-coreprojects-helpdesk@linuxfoundation.org"
>

    <bug>
          <bug_id>3269</bug_id>
          
          <creation_ts>2012-10-10 12:51:52 +0000</creation_ts>
          <short_desc>The relocatable SDK should have a system arch check before continuing the installation</short_desc>
          <delta_ts>2012-12-05 13:35:48 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>6</classification_id>
          <classification>Yocto Project Subprojects</classification>
          <product>ADT</product>
          <component>adt</component>
          <version>1.3</version>
          <rep_platform>x86</rep_platform>
          <op_sys>Multiple</op_sys>
          <bug_status>VERIFIED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard>(Patch review)</status_whiteboard>
          <keywords></keywords>
          <priority>Medium</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>1.4 M1</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Alexandru Georgescu">alexandru.c.georgescu</reporter>
          <assigned_to name="Laurentiu Palcu">laurentiu.palcu</assigned_to>
          <cc>jessica.zhang</cc>
    
    <cc>poky.adt.watcher</cc>
    
    <cc>poky.watcher</cc>
          
          
          <cf_os>---</cf_os>
          <cf_regression_type>---</cf_regression_type>
          
          <cf_docchange>---</cf_docchange>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>26480</commentid>
    <comment_count>0</comment_count>
    <who name="Alexandru Georgescu">alexandru.c.georgescu</who>
    <bug_when>2012-10-10 12:51:52 +0000</bug_when>
    <thetext>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 &quot;/home/yocto/tmp/toolchains/sdk-test&quot;. Proceed[Y/n]?y
Extracting SDK...</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>27149</commentid>
    <comment_count>1</comment_count>
    <who name="Laurentiu Palcu">laurentiu.palcu</who>
    <bug_when>2012-11-01 13:24:53 +0000</bug_when>
    <thetext>Patch sent to the mailing list for review.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>27517</commentid>
    <comment_count>2</comment_count>
    <who name="Laurentiu Palcu">laurentiu.palcu</who>
    <bug_when>2012-11-16 12:50:18 +0000</bug_when>
    <thetext>patch merged: http://git.yoctoproject.org/cgit.cgi/poky/commit/?id=c04f54352fd09782e7f3fff87f48ad90ae70dbfa</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>27992</commentid>
    <comment_count>3</comment_count>
    <who name="Alexandru Georgescu">alexandru.c.georgescu</who>
    <bug_when>2012-12-05 13:35:48 +0000</bug_when>
    <thetext>verified.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>