summaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
authorAlexander Kanavin <alex@linutronix.de>2022-02-06 12:56:02 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2022-02-07 10:08:52 +0000
commit34f152de14f803fcfe5c92c515bf585838bba10a (patch)
tree7986809e352920eb790ccf94e699ad7d07009457 /scripts
parentf3128fd1b2e5cbf3683dc69eabc56fbc0bd0e7d5 (diff)
downloadopenembedded-core-contrib-34f152de14f803fcfe5c92c515bf585838bba10a.tar.gz
qemu: replace a gtk wrapper with directly setting environment from runqemu
The wrapper is executed by host bash, and host bash refuses to run when pseudo libc is preloaded via LD_PRELOAD (which is the case when gl is enabled). Only the fontconfig setting is carried over as local testing showed that only that is necessary for the gui to look ok nowadays; adjust further if necessary. Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/runqemu1
1 files changed, 1 insertions, 0 deletions
diff --git a/scripts/runqemu b/scripts/runqemu
index 4e05c1bb15..07429372ea 100755
--- a/scripts/runqemu
+++ b/scripts/runqemu
@@ -1369,6 +1369,7 @@ class BaseConfig(object):
if self.sdl == True:
self.qemu_opt += 'sdl,'
elif self.gtk == True:
+ os.environ['FONTCONFIG_PATH'] = '/etc/fonts'
self.qemu_opt += 'gtk,'
if self.gl == True: