Bug 7343 - toolchain environment setup script has wrong paths if /opt/ is a symlink
Summary: toolchain environment setup script has wrong paths if /opt/ is a symlink
Status: RESOLVED DUPLICATE of bug 7032
Alias: None
Product: Installation
Classification: Runtime
Component: Installation (show other bugs)
Version: 1.7.1
Hardware: x86 Multiple
: Undecided normal
Target Milestone: 1.8 M4
Assignee: Aníbal Limón
QA Contact:
URL:
Whiteboard:
Depends on:
Blocks:
 
Reported: 2015-02-20 17:43 UTC by Martin Kaiser
Modified: 2015-02-25 19:15 UTC (History)
3 users (show)

See Also:
OS type for building Yocto: ---
Type of Regression: ---
Verified:
Documentation change: Don't know


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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 ***