<?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>3102</bug_id>
          
          <creation_ts>2012-09-13 07:35:20 +0000</creation_ts>
          <short_desc>Relocatable SDK can not be installed into symlinked dirs</short_desc>
          <delta_ts>2012-10-16 13:30:39 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>7</classification_id>
          <classification>Build System, Metadata &amp; Runtime</classification>
          <product>OE-Core</product>
          <component>devtools / tool chain</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>merged</status_whiteboard>
          <keywords></keywords>
          <priority>Medium</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>1.3 M5</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Khem Raj">raj.khem</reporter>
          <assigned_to name="Laurentiu Palcu">laurentiu.palcu</assigned_to>
          <cc>alexandru.c.georgescu</cc>
    
    <cc>meta.mr.watcher</cc>
    
    <cc>meta.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>25141</commentid>
    <comment_count>0</comment_count>
    <who name="Khem Raj">raj.khem</who>
    <bug_when>2012-09-13 07:35:20 +0000</bug_when>
    <thetext>Installing relocatable SDK works fine as long as the directories are absolute

I created  a symlink say

/opt -&gt; /b/blah/opt

Now I ask the installed to install into /opt which it accepts but then actually all relocations are done w.r.t to /b/blah/opt

I think it should not traverse the symlinks when installing. It could be that
symlink is on a filer which is then accessible as /opt over autofs to whole network or so.

see

./poky-eglibc-x86_64-x86_64-toolchain-1.2+snapshot-20120912.sh
Enter target directory for Poky SDK (default: /opt/poky/1.3.0-1):/opt/poky/1.3.0-1
You are about to install Poky SDK to &quot;/files/opt/poky/1.3.0-1&quot;. Proceed[Y/n]?n</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>25351</commentid>
    <comment_count>1</comment_count>
    <who name="Laurentiu Palcu">laurentiu.palcu</who>
    <bug_when>2012-09-18 10:53:38 +0000</bug_when>
    <thetext>The fix for this was sent to the mailing list.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>25529</commentid>
    <comment_count>2</comment_count>
    <who name="Laurentiu Palcu">laurentiu.palcu</who>
    <bug_when>2012-09-21 12:40:45 +0000</bug_when>
    <thetext>Patch merged:
http://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/?id=bd73a4b615f51d6a2330fcd21a33dcdd863497d2</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>26637</commentid>
    <comment_count>3</comment_count>
    <who name="Alexandru Georgescu">alexandru.c.georgescu</who>
    <bug_when>2012-10-16 13:30:39 +0000</bug_when>
    <thetext>verified</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>