summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/qemu/qemu.inc
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 /meta/recipes-devtools/qemu/qemu.inc
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 'meta/recipes-devtools/qemu/qemu.inc')
-rw-r--r--meta/recipes-devtools/qemu/qemu.inc11
1 files changed, 0 insertions, 11 deletions
diff --git a/meta/recipes-devtools/qemu/qemu.inc b/meta/recipes-devtools/qemu/qemu.inc
index 843de3337a..325118cfb3 100644
--- a/meta/recipes-devtools/qemu/qemu.inc
+++ b/meta/recipes-devtools/qemu/qemu.inc
@@ -138,17 +138,6 @@ do_install:append() {
138} 138}
139# END of qemu-mips workaround 139# END of qemu-mips workaround
140 140
141make_qemu_wrapper() {
142 gdk_pixbuf_module_file=`pkg-config --variable=gdk_pixbuf_cache_file gdk-pixbuf-2.0`
143
144 for tool in `ls ${D}${bindir}/qemu-system-*`; do
145 create_wrapper $tool \
146 GDK_PIXBUF_MODULE_FILE=$gdk_pixbuf_module_file \
147 FONTCONFIG_PATH=/etc/fonts \
148 GTK_THEME=Adwaita
149 done
150}
151
152# Disable kvm/virgl/mesa on targets that do not support it 141# Disable kvm/virgl/mesa on targets that do not support it
153PACKAGECONFIG:remove:darwin = "kvm virglrenderer glx gtk+" 142PACKAGECONFIG:remove:darwin = "kvm virglrenderer glx gtk+"
154PACKAGECONFIG:remove:mingw32 = "kvm virglrenderer glx gtk+" 143PACKAGECONFIG:remove:mingw32 = "kvm virglrenderer glx gtk+"