mirror of
https://git.yoctoproject.org/poky
synced 2026-05-30 12:29:55 +00:00
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>
This commit is contained in:
committed by
Richard Purdie
parent
1dfa8537a3
commit
276975e4ea
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user