From patchwork Thu Feb 7 16:29:48 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: [1/1] qemu.bbclass: fix segfaults when running through pseudo Date: Thu, 07 Feb 2013 16:29:48 -0000 From: Laurentiu Palcu X-Patchwork-Id: 44241 Message-Id: To: openembedded-core@lists.openembedded.org qemu user binaries sometimes segfault when running them through pseudo. So, set PSEUDO_UNLOAD to 1 before running any qemu binary. [YOCTO #3788] Signed-off-by: Laurentiu Palcu --- meta/classes/qemu.bbclass | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta/classes/qemu.bbclass b/meta/classes/qemu.bbclass index cd2e323..8b03926 100644 --- a/meta/classes/qemu.bbclass +++ b/meta/classes/qemu.bbclass @@ -34,5 +34,5 @@ def qemu_run_binary(data, rootfs_path, binary): library_path = rootfs_path + data.getVar("base_libdir", True) + ":" + \ rootfs_path + data.getVar("libdir", True) - return qemu_binary + " " + dynamic_loader + " --library-path " + library_path \ + return "PSEUDO_UNLOAD=1 " + qemu_binary + " " + dynamic_loader + " --library-path " + library_path \ + " " + rootfs_path + binary