summaryrefslogtreecommitdiffstats
path: root/meta
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-22 17:14:00 +0100
commit0f9afc21e12a8de2dbeadf726a278566b5e69364 (patch)
treea3ce256fac2a44982f6e49bbce701ea67c50da47 /meta
parent8b357d843a496ba9c0d2e78d548caa7d76166bbc (diff)
downloadpoky-0f9afc21e12a8de2dbeadf726a278566b5e69364.tar.gz
adt-installer: do not dereference symlinks when relocating
This was already fixed for meta-toolchain. [YOCTO #4157] (From OE-Core master rev: 9e9331a4b859c4205c2a0406ab0224ac575e351b) (From OE-Core rev: 52f3007a57edf4ca8c244271d08d812b62897401) 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')
-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!"