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

bage at linutronix.de bage at linutronix.de
Tue Oct 22 15:49:59 CEST 2019


From: Bastian Germann <bage at linutronix.de>

The SDK install script searches for ld-linux.so* in $native_sysroot/lib which
is not available on buster (tested for armhf target).

Search the whole $native_sysroot directory to find files in usr/lib as well.

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..7e432d125 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 $native_sysroot -name "ld-linux.so*")
 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