diff options
author | Laurentiu Palcu <laurentiu.palcu@intel.com> | 2013-04-26 11:03:58 +0300 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2013-04-29 14:43:53 +0100 |
commit | 0c6ddb84043f0f917543cdaf4814efc15cd0273f (patch) | |
tree | 3c90c79f8916299807a65dd4f90e7c5a4de1d169 /meta/recipes-graphics/pango | |
parent | 1acc6c60c39a6c8982b228ac8dbc85acc89a0032 (diff) | |
download | openembedded-core-0c6ddb84043f0f917543cdaf4814efc15cd0273f.tar.gz openembedded-core-0c6ddb84043f0f917543cdaf4814efc15cd0273f.tar.bz2 openembedded-core-0c6ddb84043f0f917543cdaf4814efc15cd0273f.zip |
qemuwrapper: use fallback in case the ELF binary is wrong
This wrapper script is called mainly from intercept hooks and allarch
packages postinstalls. When multilib is used, the qemuwrapper script
points to the binary that matches the MACHINE architecture.
For example: if MACHINE=qemux86_64 and we activate multilib, then the
postinstalls for lib32 packages would call qemu-x86_64 with 32 bit
binaries and they would certainly fail.
This patch adds just a fallback method if the exit code of the previous
qemu call corresponds to "Invalid ELF image for this architecture"
error. This will allow us to have all postinstalls run on host.
Signed-off-by: Laurentiu Palcu <laurentiu.palcu@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Diffstat (limited to 'meta/recipes-graphics/pango')
0 files changed, 0 insertions, 0 deletions