[elbe-devel] [PATCH] Make SDK install script buster compatible
Bastian Germann
bage at linutronix.de
Wed Oct 23 10:59:36 CEST 2019
Am 23.10.19 um 10:20 schrieb John Ogness:
> 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?
Yes, thanks for the improvement.
>
> John Ogness
>
More information about the elbe-devel
mailing list