From 8c263420eda2c2ab0e6f8bff64f965cb4cc5698b Mon Sep 17 00:00:00 2001 From: Laurentiu Palcu Date: Thu, 7 Feb 2013 16:13:37 +0000 Subject: qemu.bbclass: fix segfaults when running through pseudo qemu user binaries sometimes segfault when running them through pseudo. So, set PSEUDO_UNLOAD to 1 before running any qemu binary. [YOCTO #3788] (From OE-Core rev: 688e9485980de0f29aa00e24ce53a3efd3a3a7cc) Signed-off-by: Laurentiu Palcu Signed-off-by: Richard Purdie --- meta/classes/qemu.bbclass | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'meta/classes') 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 -- cgit v1.1