<?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>800</bug_id>
          
          <creation_ts>2011-03-03 19:22:23 +0000</creation_ts>
          <short_desc>adt-installer should handle cases of no sysroot setup better</short_desc>
          <delta_ts>2011-03-09 07:34:32 +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.0</version>
          <rep_platform>x86</rep_platform>
          <op_sys>Multiple</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>Medium</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>1.0 M4</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Jessica">jessica.zhang</reporter>
          <assigned_to name="Jessica">jessica.zhang</assigned_to>
          <cc>lianhao.lu</cc>
    
    <cc>liping.ke</cc>
    
    <cc>poky.adt.watcher</cc>
    
    <cc>poky.watcher</cc>
    
    <cc>sgw</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>12271</commentid>
    <comment_count>0</comment_count>
    <who name="Jessica">jessica.zhang</who>
    <bug_when>2011-03-03 19:22:23 +0000</bug_when>
    <thetext>During adt-installer testing found if I choose not setup sysroot using the adt-installer, in the environment script the --sysroot and --with-libtool-sysroot will be setup to ##TARGETSDKSYSROOT##, probably we should capture what is sysroot is defined in the adt-installer.conf, if it&apos;s empty there, don&apos;t set sysroot altogether.  The issue is in this case if user use command line, they have to setup sysroot anyway, but if using in the Eclipse IDE, the sysroot is setup there but the wrong setting in the script may override the IDE sysroot setup</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>12285</commentid>
    <comment_count>1</comment_count>
    <who name="liping Ke">liping.ke</who>
    <bug_when>2011-03-04 00:05:05 +0000</bug_when>
    <thetext>Hi, Jessica

After further thoughts, I think if user use default sysroot given by IDE, it will also be a fault. And also, it is a bug if he try it under command line. ##XXX## in any way, is a good prompt error, better than linking to default native sysroot. In a word, user must setup the sysroot, otherwise, he will meet all sorts of problems in the long run.

Then how about if user refuse to install target rootfs we&apos;ll
give a prompt, tell him that he should define the correct sysroot for the environment-setup-file?

Thanks &amp; Regards,
criping</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>12403</commentid>
    <comment_count>2</comment_count>
    <who name="Jessica">jessica.zhang</who>
    <bug_when>2011-03-09 07:34:32 +0000</bug_when>
    <thetext>fixed in commit http://git.pokylinux.org/cgit.cgi/eclipse-poky/commit/?id=dd2806405a6b83dc3495a392ed96b724a6a2176b</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>