diff options
Diffstat (limited to 'meta/classes')
-rw-r--r-- | meta/classes/qemu.bbclass | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/meta/classes/qemu.bbclass b/meta/classes/qemu.bbclass index 8b039266b9..0e71d6aaad 100644 --- a/meta/classes/qemu.bbclass +++ b/meta/classes/qemu.bbclass | |||
@@ -29,10 +29,4 @@ def qemu_run_binary(data, rootfs_path, binary): | |||
29 | if qemu_binary == "qemu-allarch": | 29 | if qemu_binary == "qemu-allarch": |
30 | qemu_binary = "qemuwrapper" | 30 | qemu_binary = "qemuwrapper" |
31 | 31 | ||
32 | dynamic_loader = rootfs_path + '$(readelf -l ' + rootfs_path + \ | 32 | return "PSEUDO_UNLOAD=1 " + qemu_binary + " -L " + rootfs_path + " " + rootfs_path + binary |
33 | binary + '| grep "Requesting program interpreter"|sed -e \'s/^.*\[.*: \(.*\)\]/\\1/\')' | ||
34 | library_path = rootfs_path + data.getVar("base_libdir", True) + ":" + \ | ||
35 | rootfs_path + data.getVar("libdir", True) | ||
36 | |||
37 | return "PSEUDO_UNLOAD=1 " + qemu_binary + " " + dynamic_loader + " --library-path " + library_path \ | ||
38 | + " " + rootfs_path + binary | ||