]> code.ossystems Code Review - openembedded-core.git/commit
SDK: fix installation into symlinked directories
authorLaurentiu Palcu <laurentiu.palcu@intel.com>
Mon, 17 Sep 2012 08:19:08 +0000 (11:19 +0300)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Fri, 21 Sep 2012 10:10:05 +0000 (11:10 +0100)
commit9e6a25e2e9a7f37c3baa0b2949a43ac4127868da
tree402a9fe56a74fa26f510decfc888b5cd37449169
parent3396545467df05421c3adeb4b5ec532fa95dcb06
SDK: fix installation into symlinked directories

The SDK installation scripts should not canonicalize symlinked
directories because the entire relocation would be done to the directory
to which the symlink points. Instead, if the installation is a symlink,
use that path to relocate the binaries.

For example, if we have the following symlink: /opt/sdk -> ~/my/test/sdk
the binaries will be relocated to /opt/sdk not ~/my/test/sdk as it is
done now.

[YOCTO #3102]

Signed-off-by: Laurentiu Palcu <laurentiu.palcu@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
meta/classes/populate_sdk_base.bbclass
meta/recipes-devtools/installer/adt-installer/adt_installer
meta/recipes-devtools/installer/adt-installer/scripts/adt_installer_internal