]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core.git/commit
qemu: Ensure pip and the python venv aren't used for meson
authorRichard Purdie <richard.purdie@linuxfoundation.org>
Tue, 19 Dec 2023 21:24:57 +0000 (21:24 +0000)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 21 Dec 2023 10:37:28 +0000 (10:37 +0000)
commitaceef7785e637a0223ecf288e2f367b6bee4a505
treeff53753899829b628d2fc29cd18e2f9b1882023a
parent6e7c2ae575b8f04fd117cc56980bb25113f343a8
qemu: Ensure pip and the python venv aren't used for meson

Qemu wants to use a supported python version and a specific meson version
to "help" users and uses pip and creates a venv to do this. This is a nightmare
for us. Our versions stay up to date and should be supported so we don't
really need/want this wrapping. Tweak things to disable it.

There was breakage from the wrapper shown by:

bitbake qemu-system-native
<add DISTRO_FEATURES:remove = "opengl" to local.conf>
bitbake qemu-system-native -c configure

which would crash. The issue is the change in configuration removes pieces
from the sysroot but pyc files remainm as do pieces of pip which causes
problems.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-devtools/qemu/qemu.inc
meta/recipes-devtools/qemu/qemu/no-pip.patch [new file with mode: 0644]