diff options
author | Jo-Philipp Wich <jo@mein.io> | 2020-09-10 13:55:48 +0200 |
---|---|---|
committer | Jo-Philipp Wich <jo@mein.io> | 2020-09-10 14:24:50 +0200 |
commit | 10dbdeccfadb56557d267e3dc8f22d6bafbb422f (patch) | |
tree | 50fc1c3e5a46c8c8dc2ced1dc9eecb2fa4eceae0 /target/linux/ath79/patches-5.4 | |
parent | 8b8015031bec435a43d29fbac3238b6b03aadc1f (diff) | |
download | upstream-10dbdeccfadb56557d267e3dc8f22d6bafbb422f.tar.gz upstream-10dbdeccfadb56557d267e3dc8f22d6bafbb422f.tar.bz2 upstream-10dbdeccfadb56557d267e3dc8f22d6bafbb422f.zip |
scripts: bundle-libraries.sh: retain preloaded libraries
Since the introduction of fakeroot support, wrapped SDK executables might
be invoked from a shell that has libfakeroot.so preloaded.
Since we're using preloading as well in order to mangle argv[0] when
invoking the shipped ELF interpreter directly, we must take care of
preloading the already preloaded libraries as well, to avoid invoked
programs losing their fakeroot capabilities.
Extend the bundle-libraries.sh script to take any existing $LD_PRELOAD
into account when invoking the target ELF executable with a preloaded
runas.so library.
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Diffstat (limited to 'target/linux/ath79/patches-5.4')
0 files changed, 0 insertions, 0 deletions