summaryrefslogtreecommitdiffstats
path: root/scripts/oe-setup-rpmrepo
diff options
context:
space:
mode:
authorLaurentiu Palcu <laurentiu.palcu@intel.com>2013-04-26 11:03:58 +0300
committerRichard Purdie <richard.purdie@linuxfoundation.org>2013-05-22 17:13:57 +0100
commit6ad0460ca4892aa066479b9f92d188f9f913a9bf (patch)
tree76fb1f5c0a5a30c6268a1e608b77a6c021f8713e /scripts/oe-setup-rpmrepo
parentc1fc2ce5541a598812c8fd38ddef3e3dd6a3d5a0 (diff)
downloadpoky-6ad0460ca4892aa066479b9f92d188f9f913a9bf.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 master rev: 0c6ddb84043f0f917543cdaf4814efc15cd0273f) (From OE-Core rev: 4a9365a72ab45da33d31dc2f2575a58d20467c9e) 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 'scripts/oe-setup-rpmrepo')
0 files changed, 0 insertions, 0 deletions