mirror of
https://git.yoctoproject.org/poky
synced 2026-04-20 09:32:13 +02:00
qemu-system-native: install qmp python module
The qmp python module supports the Qemu Machine Protocol [0]. This module needs to be installed in a known location so the qemurunner python script can find the qmp module. This change causes it to be installed in the recipe-sysroot-native of the target image and that directory can be added to the python sys.path that needs to use the qmp.py module. [0] https://github.com/qemu/qemu/blob/master/docs/interop/qmp-spec.txt (From OE-Core rev: 46a60f67562a6ae227e018228212fc797d1f2795) Signed-off-by: Saul Wold <saul.wold@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
committed by
Richard Purdie
parent
8cf9b6529e
commit
2c86aba6f0
@@ -1,5 +1,7 @@
|
||||
BPN = "qemu"
|
||||
|
||||
inherit python3-dir
|
||||
|
||||
require qemu-native.inc
|
||||
|
||||
# As some of the files installed by qemu-native and qemu-system-native
|
||||
@@ -23,4 +25,7 @@ do_install_append() {
|
||||
rm -f ${D}${datadir}/qemu/trace-events-all
|
||||
rm -rf ${D}${datadir}/qemu/keymaps
|
||||
rm -rf ${D}${datadir}/icons/
|
||||
|
||||
# Install qmp.py to be used with testimage
|
||||
install -D ${S}/python/qemu/qmp.py ${D}${PYTHON_SITEPACKAGES_DIR}/qmp.py
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user