[elbe-devel] [PATCH] Make SDK install script buster compatible
John Ogness
john.ogness at linutronix.de
Wed Oct 23 10:20:39 CEST 2019
On 2019-10-23, John Ogness <john.ogness at linutronix.de> wrote:
> IMO it should look more like this:
>
> dl_path=''
> for p in $native_sysroot/lib $native_sysroot/usr/lib; do
> test -d $p && ! test -L $p || continue
> dl_path=$($SUDO_EXEC find $p -name 'ld-linux*')
> break
> done
Here's maybe a cleaner, more complete version, in case some Debian
release includes a /lib without a dynamic loader in it.
dl_path=''
for p in $native_sysroot/lib $native_sysroot/usr/lib; do
test -d $p -a ! -L $p || continue
dl_path=$($SUDO_EXEC find $p -name 'ld-linux*')
test -z "$dl_path" || break
done
Should I submit this as a patch?
John Ogness
More information about the elbe-devel
mailing list