Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
platform-host: check /bin/sh, then /bin/dash and then /bin/ls
Previously, we were only checking /bin/sh. While that works in most cases, it seems like there are still scenarios where /bin/sh isn't an executable itself, and is instead just a shell script that calls /bin/dash. (See #1810 for example.) In this PR, we make the `ld` detection a bit more robust by trying multiple paths. As with previous changes, we emit copious logs to help debug this in the future. It's not totally clear how to test this. I'm not sure how to reproduce the environment mentions in #1810 specifically since it seems like an internal variant of WSL Ubuntu. Fixes #1810
- Loading branch information