mirror of
https://git.yoctoproject.org/poky
synced 2026-04-26 09:32:14 +02:00
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 <laurentiu.palcu@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
committed by
Richard Purdie
parent
9f5a6f89d9
commit
8c263420ed
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user