From bd7ea8330eaa6dc780243880da911861877a6fa5 Mon Sep 17 00:00:00 2001 From: Robert Yang Date: Wed, 2 Jan 2019 16:46:17 -0500 Subject: [PATCH] qemu: Use QEMU_MODULE_DIR env variable (!1736) The upstream patch uses this environment variable. With pmaports temp/qemu removed, qemu should be run with the env var used in upstream. --- pmb/qemu/run.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pmb/qemu/run.py b/pmb/qemu/run.py index 3b428b94..66f9967c 100644 --- a/pmb/qemu/run.py +++ b/pmb/qemu/run.py @@ -125,7 +125,7 @@ def command_qemu(args, arch, device, img_path, spice_enabled): command = [qemu_bin] else: rootfs_native = args.work + "/chroot_native" - env = {"QEMU_MODULE_PATH": rootfs_native + "/usr/lib/qemu", + env = {"QEMU_MODULE_DIR": rootfs_native + "/usr/lib/qemu", "GBM_DRIVERS_PATH": rootfs_native + "/usr/lib/xorg/modules/dri", "LIBGL_DRIVERS_PATH": rootfs_native + "/usr/lib/xorg/modules/dri"}