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:45:09 +0100 |
commit | fe240006fb79a704a27d9a5fbb7a41da9968476d (patch) | |
tree | 8ba4592926b8bed487323ab8f61940165110e341 /README | |
parent | 18ea08cce1d14ff279c53b734fb1651dcff10b20 (diff) | |
download | poky-fe240006fb79a704a27d9a5fbb7a41da9968476d.tar.gz |
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.
(From OE-Core rev: 0c6ddb84043f0f917543cdaf4814efc15cd0273f)
Signed-off-by: Laurentiu Palcu <laurentiu.palcu@intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'README')
0 files changed, 0 insertions, 0 deletions