Bug 3102

Summary: Relocatable SDK can not be installed into symlinked dirs
Product: [Build System, Metadata & Runtime] OE-Core Reporter: Khem Raj <raj.khem>
Component: devtools / tool chainAssignee: Laurentiu Palcu <laurentiu.palcu>
Status: VERIFIED FIXED QA Contact:
Severity: normal    
Priority: Medium CC: alexandru.c.georgescu, meta.mr.watcher, meta.watcher, sgw
Version: 1.3   
Target Milestone: 1.3 M5   
Hardware: x86   
OS: Multiple   
Whiteboard: merged
OS type for building Yocto: --- Type of Regression: ---
Verified: Documentation change: ---

Description Khem Raj 2012-09-13 07:35:20 UTC
Installing relocatable SDK works fine as long as the directories are absolute

I created  a symlink say

/opt -> /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 "/files/opt/poky/1.3.0-1". Proceed[Y/n]?n
Comment 1 Laurentiu Palcu 2012-09-18 10:53:38 UTC
The fix for this was sent to the mailing list.
Comment 3 Alexandru Georgescu 2012-10-16 13:30:39 UTC
verified