summaryrefslogtreecommitdiffstats
path: root/scripts/runqemu
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:59 +0000
commit276975e4ea78691d092ddcca50098ed177357a74 (patch)
tree5101508fd082c63707bc0a9cb736e3ee10e4babe /scripts/runqemu
parent1dfa8537a3ede339f0cf18ef41cf08059f4c2c6c (diff)
downloadpoky-276975e4ea78691d092ddcca50098ed177357a74.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. (From OE-Core rev: 34f152de14f803fcfe5c92c515bf585838bba10a) Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'scripts/runqemu')
-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):
1369 if self.sdl == True: 1369 if self.sdl == True:
1370 self.qemu_opt += 'sdl,' 1370 self.qemu_opt += 'sdl,'
1371 elif self.gtk == True: 1371 elif self.gtk == True:
1372 os.environ['FONTCONFIG_PATH'] = '/etc/fonts'
1372 self.qemu_opt += 'gtk,' 1373 self.qemu_opt += 'gtk,'
1373 1374
1374 if self.gl == True: 1375 if self.gl == True: