mirror of
https://git.yoctoproject.org/poky
synced 2026-05-31 12:49:46 +00:00
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>
This commit is contained in:
committed by
Richard Purdie
parent
8b357d843a
commit
0f9afc21e1
@@ -217,7 +217,7 @@ find $OECORE_NATIVE_SYSROOT -type f -exec file '{}' \;|grep ":.*\(ASCII\|script\
|
||||
|
||||
# change all symlinks pointing to /opt/${DISTRO}/${SDK_VERSION}
|
||||
for l in $(find $NATIVE_INSTALL_DIR -type l); do
|
||||
$SUDO ln -sf $(readlink $l|sed -e "s:$DEFAULT_INSTALL_FOLDER:$NATIVE_INSTALL_DIR:") $l
|
||||
$SUDO ln -sfn $(readlink $l|sed -e "s:$DEFAULT_INSTALL_FOLDER:$NATIVE_INSTALL_DIR:") $l
|
||||
done
|
||||
|
||||
echo_info "\nSuccessfully installed selected native ADT!"
|
||||
|
||||
Reference in New Issue
Block a user