diff options
| -rw-r--r-- | meta/lib/oeqa/utils/qemurunner.py | 2 | ||||
| -rw-r--r-- | meta/recipes-devtools/qemu/qemu-system-native_6.1.0.bb | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/meta/lib/oeqa/utils/qemurunner.py b/meta/lib/oeqa/utils/qemurunner.py index d961a9a218..0397148082 100644 --- a/meta/lib/oeqa/utils/qemurunner.py +++ b/meta/lib/oeqa/utils/qemurunner.py | |||
| @@ -183,7 +183,7 @@ class QemuRunner: | |||
| 183 | # then add in the site-packages path components and add that | 183 | # then add in the site-packages path components and add that |
| 184 | # to the python sys.path so qmp.py can be found. | 184 | # to the python sys.path so qmp.py can be found. |
| 185 | python_path = os.path.dirname(os.path.dirname(self.logfile)) | 185 | python_path = os.path.dirname(os.path.dirname(self.logfile)) |
| 186 | python_path += "/recipe-sysroot-native/usr/lib/python3.9/site-packages" | 186 | python_path += "/recipe-sysroot-native/usr/lib/qemu-python" |
| 187 | sys.path.append(python_path) | 187 | sys.path.append(python_path) |
| 188 | importlib.invalidate_caches() | 188 | importlib.invalidate_caches() |
| 189 | try: | 189 | try: |
diff --git a/meta/recipes-devtools/qemu/qemu-system-native_6.1.0.bb b/meta/recipes-devtools/qemu/qemu-system-native_6.1.0.bb index b47ffd5262..b544ab4e81 100644 --- a/meta/recipes-devtools/qemu/qemu-system-native_6.1.0.bb +++ b/meta/recipes-devtools/qemu/qemu-system-native_6.1.0.bb | |||
| @@ -28,5 +28,5 @@ do_install:append() { | |||
| 28 | rm -rf ${D}${includedir}/qemu-plugin.h | 28 | rm -rf ${D}${includedir}/qemu-plugin.h |
| 29 | 29 | ||
| 30 | # Install qmp.py to be used with testimage | 30 | # Install qmp.py to be used with testimage |
| 31 | install -D ${S}/python/qemu/qmp/__init__.py ${D}${PYTHON_SITEPACKAGES_DIR}/qmp.py | 31 | install -D ${S}/python/qemu/qmp/__init__.py ${D}${libdir}/qemu-python/qmp.py |
| 32 | } | 32 | } |
