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

John Ogness john.ogness at linutronix.de
Thu Oct 24 13:02:42 CEST 2019


On 2019-10-24, bage at linutronix.de wrote:
> 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.

Could you clarify the text a little more? Perhaps something like:

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

> Signed-off-by: Bastian Germann <bage at linutronix.de>

Reviewed-by: John Ogness <john.ogness 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



More information about the elbe-devel mailing list