<?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>1305</bug_id>
          
          <creation_ts>2011-07-28 19:21:59 +0000</creation_ts>
          <short_desc>qemu unfs root messed up with sysroot</short_desc>
          <delta_ts>2011-07-29 00:07:45 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>6</classification_id>
          <classification>Yocto Project Subprojects</classification>
          <product>Eclipse Plugin</product>
          <component>eclipse-plugin</component>
          <version>unspecified</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>Undecided</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="liping Ke">liping.ke</reporter>
          <assigned_to name="Jessica">jessica.zhang</assigned_to>
          <cc>yp.ep.watcher</cc>
    
    <cc>yp.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>15084</commentid>
    <comment_count>0</comment_count>
    <who name="liping Ke">liping.ke</who>
    <bug_when>2011-07-28 19:21:59 +0000</bug_when>
    <thetext>Now we only have one place for deciding sysroot in unfs. But for meta-toolchain mode, sysroot does not contain unfs target sysroot, it only contains compilation build sysroot. So qemu unfs style will fail to boot. 
This problem relates to bug 1300.

in preference page, we expect user input unfs sysroot or compilation sysroot? It might be messed up...

Thanks&amp; Regards,
criping</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>15086</commentid>
    <comment_count>1</comment_count>
    <who name="Jessica">jessica.zhang</who>
    <bug_when>2011-07-28 20:11:26 +0000</bug_when>
    <thetext>In preference page, the sysroot should be the sysroot that extracted from target rootfs, which support unfs.  We should never use the sysroot of the toolchain one in eclipse</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>15087</commentid>
    <comment_count>2</comment_count>
    <who name="liping Ke">liping.ke</who>
    <bug_when>2011-07-28 20:13:25 +0000</bug_when>
    <thetext>Hi, Jessica

Then seems we need to remove a piece of code in the code logic. Seems we also paste this --sysroot to eclipse settings. Then we will have multiple sysroot ... (eclipse env combined with environment vars)


Thanks&amp; Regards,
criping</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>15090</commentid>
    <comment_count>3</comment_count>
    <who name="Jessica">jessica.zhang</who>
    <bug_when>2011-07-28 20:27:49 +0000</bug_when>
    <thetext>Yes, probably we should, we just don&apos;t take in the sysroot from the env file</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>15093</commentid>
    <comment_count>4</comment_count>
    <who name="liping Ke">liping.ke</who>
    <bug_when>2011-07-29 00:06:40 +0000</bug_when>
    <thetext>Final solution is that in eclipse, we will only have one sysroot. Same sysroot for compilation as well as qemu. When user define the sysroot, the one in the environement-setup file will be override.

The changeset is 

http://git.pokylinux.org/cgit/cgit.cgi/eclipse-poky/commit/?id=e5cff64183f42502b02169b2aa5febc4c1b87dd6</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>15095</commentid>
    <comment_count>5</comment_count>
    <who name="liping Ke">liping.ke</who>
    <bug_when>2011-07-29 00:07:45 +0000</bug_when>
    <thetext>*** Bug 1300 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>