Bug 7343

Summary: toolchain environment setup script has wrong paths if /opt/ is a symlink
Product: [Runtime] Installation Reporter: Martin Kaiser <yocto>
Component: InstallationAssignee: Aníbal Limón <anibal.limon>
Status: RESOLVED DUPLICATE QA Contact:
Severity: normal    
Priority: Undecided CC: anibal.limon, kevin.tian, sgw
Version: 1.7.1   
Target Milestone: 1.8 M4   
Hardware: x86   
OS: Multiple   
Whiteboard:
OS type for building Yocto: --- Type of Regression: ---
Verified: Documentation change: Don't know

Description Martin Kaiser 2015-02-20 17:43:59 UTC
I built a cross-toolchain for armvte and eventually got a
poky-glibc-x86_64-core-image-minimal-armv5te-toolchain-1.7.1.sh


On my system, /opt/ is a symlink to /usr/opt/

If I install to the default dir /opt/poky/1.7.1/, all paths in the environment setup script are prefixed with /usr/usr/opt/...

I have to correct this manually before the toolchain is usable.

This may be related to the readlink -m in the .sh script
Comment 1 Aníbal Limón 2015-02-25 19:15:50 UTC
This issue is already solved patch are integrated into master and target to be integrated into 1.7 [1][2].

[1] http://lists.openembedded.org/pipermail/openembedded-core/2015-February/101562.html
[2] http://lists.openembedded.org/pipermail/openembedded-core/2015-February/101621.html

*** This bug has been marked as a duplicate of bug 7032 ***