summaryrefslogtreecommitdiffstats
path: root/meta
diff options
context:
space:
mode:
authorJoshua Watt <JPEWhacker@gmail.com>2022-10-21 14:23:44 -0500
committerRichard Purdie <richard.purdie@linuxfoundation.org>2022-10-26 12:26:17 +0100
commit2232599d330bd5f2a9e206b490196569ad855de8 (patch)
treec41b27aef3412c27a31c9ab766dc5f38205d2068 /meta
parentf698e98f2f09952b34488b8cf9e73e82bd7aea07 (diff)
downloadopenembedded-core-contrib-2232599d330bd5f2a9e206b490196569ad855de8.tar.gz
runqemu: Do not perturb script environment
Instead of changing the script environment to affect the child processes, make a copy of the environment with modifications and pass that to subprocess. Specifically, when dri rendering is enabled, LD_PRELOAD was being passed to all processes created by the script which resulted in other commands (e.g. stty) exiting with a failure like: /bin/sh: symbol lookup error: sysroots-uninative/x86_64-linux/lib/librt.so.1: undefined symbol: __libc_unwind_link_get, version GLIBC_PRIVATE Making a copy of the environment fixes this because the LD_PRELOAD is now only passed to qemu itself. Signed-off-by: Joshua Watt <JPEWhacker@gmail.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Diffstat (limited to 'meta')
0 files changed, 0 insertions, 0 deletions