[elbe-devel] [PATCH v2] Make SDK install script buster compatible

bage at linutronix.de bage at linutronix.de
Thu Oct 24 12:48:46 CEST 2019


From: Bastian Germann <bage at linutronix.de>

The SDK install script searches for ld-linux* in $native_sysroot/lib which
is a symlink on buster. Make find follow the symlink.

Signed-off-by: Bastian Germann <bage at linutronix.de>
---
 elbepack/makofiles/toolchain-shar-extract.sh.mako | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/elbepack/makofiles/toolchain-shar-extract.sh.mako b/elbepack/makofiles/toolchain-shar-extract.sh.mako
index a56d1ae8c..7b3acdbf9 100644
--- a/elbepack/makofiles/toolchain-shar-extract.sh.mako
+++ b/elbepack/makofiles/toolchain-shar-extract.sh.mako
@@ -282,7 +282,7 @@ fi
 
 # fix dynamic loader paths in all ELF SDK binaries
 native_sysroot=$target_sdk_dir/sysroots/host
-dl_path=$($SUDO_EXEC find $native_sysroot/lib -name "ld-linux*")
+dl_path=$($SUDO_EXEC find -H $native_sysroot/lib -name "ld-linux*")
 if [ "$dl_path" = "" ] ; then
         echo "SDK could not be set up. Relocate script unable to find ld-linux.so. Abort!"
         exit 1
-- 
2.20.1




More information about the elbe-devel mailing list