Bug 3102 - Relocatable SDK can not be installed into symlinked dirs
Summary: Relocatable SDK can not be installed into symlinked dirs
Status: VERIFIED FIXED
Alias: None
Product: OE-Core
Classification: Build System, Metadata & Runtime
Component: devtools / tool chain (show other bugs)
Version: 1.3
Hardware: x86 Multiple
: Medium normal
Target Milestone: 1.3 M5
Assignee: Laurentiu Palcu
QA Contact:
URL:
Whiteboard: merged
Depends on:
Blocks:
 
Reported: 2012-09-13 07:35 UTC by Khem Raj
Modified: 2012-10-16 13:30 UTC (History)
4 users (show)

See Also:
OS type for building Yocto: ---
Type of Regression: ---
Verified:
Documentation change: ---


Attachments

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