summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools
diff options
context:
space:
mode:
authorLaurentiu Palcu <laurentiu.palcu@intel.com>2013-04-30 18:02:10 +0300
committerRichard Purdie <richard.purdie@linuxfoundation.org>2013-05-02 17:41:54 +0100
commitc6a769eb7e5cc433af92f4e0786fbb2515464a02 (patch)
tree2f6166bf396d8769f1bcdb0d47239fe62805eb7e /meta/recipes-devtools
parentb899df846c453eb8145015e52135a82cc25dfde2 (diff)
downloadpoky-c6a769eb7e5cc433af92f4e0786fbb2515464a02.tar.gz
adt-installer: do not dereference symlinks when relocating
This was already fixed for meta-toolchain. [YOCTO #4157] (From OE-Core rev: 9e9331a4b859c4205c2a0406ab0224ac575e351b) Signed-off-by: Laurentiu Palcu <laurentiu.palcu@intel.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools')
-rwxr-xr-xmeta/recipes-devtools/installer/adt-installer/scripts/adt_installer_internal2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/recipes-devtools/installer/adt-installer/scripts/adt_installer_internal b/meta/recipes-devtools/installer/adt-installer/scripts/adt_installer_internal
index b80a7ed11d..4322964b21 100755
--- a/meta/recipes-devtools/installer/adt-installer/scripts/adt_installer_internal
+++ b/meta/recipes-devtools/installer/adt-installer/scripts/adt_installer_internal
@@ -217,7 +217,7 @@ find $OECORE_NATIVE_SYSROOT -type f -exec file '{}' \;|grep ":.*\(ASCII\|script\
217 217
218# change all symlinks pointing to /opt/${DISTRO}/${SDK_VERSION} 218# change all symlinks pointing to /opt/${DISTRO}/${SDK_VERSION}
219for l in $(find $NATIVE_INSTALL_DIR -type l); do 219for l in $(find $NATIVE_INSTALL_DIR -type l); do
220 $SUDO ln -sf $(readlink $l|sed -e "s:$DEFAULT_INSTALL_FOLDER:$NATIVE_INSTALL_DIR:") $l 220 $SUDO ln -sfn $(readlink $l|sed -e "s:$DEFAULT_INSTALL_FOLDER:$NATIVE_INSTALL_DIR:") $l
221done 221done
222 222
223echo_info "\nSuccessfully installed selected native ADT!" 223echo_info "\nSuccessfully installed selected native ADT!"