From 276975e4ea78691d092ddcca50098ed177357a74 Mon Sep 17 00:00:00 2001 From: Alexander Kanavin Date: Sun, 6 Feb 2022 12:56:02 +0100 Subject: 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 Signed-off-by: Richard Purdie --- scripts/runqemu | 1 + 1 file changed, 1 insertion(+) (limited to 'scripts') 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: -- cgit v1.2.3-54-g00ecf