On Tue, 2021-01-26 at 09:31 -0800, Saul Wold wrote: > 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 > > Signed-off-by: Saul Wold <saul.w...@windriver.com> > --- > meta/recipes-devtools/qemu/qemu-system-native_5.2.0.bb | 4 ++++ > 1 file changed, 4 insertions(+) > > diff --git a/meta/recipes-devtools/qemu/qemu-system-native_5.2.0.bb > b/meta/recipes-devtools/qemu/qemu-system-native_5.2.0.bb > index 222b55cbc6e..4a58bf9055b 100644 > --- a/meta/recipes-devtools/qemu/qemu-system-native_5.2.0.bb > +++ b/meta/recipes-devtools/qemu/qemu-system-native_5.2.0.bb > @@ -2,6 +2,7 @@ BPN = "qemu" > > > require qemu-native.inc > > +inherit python3-dir >
In this patch the inherit needs to go before the qemu-native.inc, as in: http://git.yoctoproject.org/cgit.cgi/poky/commit/?h=master-next&id=5267509ea39770655dc707e9879158ca2ff3959d due to: http://git.yoctoproject.org/cgit.cgi/poky/commit/?h=master-next&id=62367fb4c240a054e6a73d0316cc6da6b5f18f79 Cheers, Richard
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#147336): https://lists.openembedded.org/g/openembedded-core/message/147336 Mute This Topic: https://lists.openembedded.org/mt/80136081/21656 Group Owner: openembedded-core+ow...@lists.openembedded.org Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-