generic-poky/meta/recipes-devtools
Laurentiu Palcu fe240006fb 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>
2013-04-29 14:45:09 +01:00
..
apt apt: update to 0.9.7.8 2013-04-29 14:45:07 +01:00
autoconf autoconf: update RDEDENDS 2013-01-07 11:09:36 +00:00
autogen autogen: use pkg-config directly instead of guile-config 2012-11-28 07:00:59 +00:00
automake automake: use autotools_do_install 2013-01-27 13:53:33 +00:00
binutils binutils: Don't generate .PPC.EMB.apuinfo sections for 64-bit output 2013-03-26 17:56:35 +00:00
bison bison: Use PATH to locate m4 2013-03-18 13:18:21 +00:00
btrfs-tools btrfs-tools: added PV to git package recipe 2013-03-04 10:04:27 +00:00
ccache ccache: update to upstream version 3.1.8 2012-12-03 13:52:06 +00:00
cdrtools ldconfig/cdrtools/icecc-create-env/linuxdoc-tools/python: Set FILESPATH to find -native files 2012-11-21 16:56:04 +00:00
chrpath chrpath: Fix case where ${B} != ${S} 2013-03-18 13:18:24 +00:00
cmake cmake: add AArch64 support 2013-01-07 13:38:29 +00:00
desktop-file-utils desktop-file-utils: Add SRC_URI checksums 2011-04-06 08:01:13 -07:00
devel-config allarch: Drop various problematic allarch usages 2013-04-15 15:57:30 +01:00
diffstat diffstat: Fix case where ${B} != ${S} 2013-03-18 13:18:24 +00:00
distcc distcc: Fix case where ${B} != ${S} 2013-03-18 13:18:25 +00:00
docbook-dsssl-stylesheets docbook-dsssl-stylesheets-native: Write a bak file for shared state 2011-08-01 14:16:55 +01:00
docbook-sgml-dtd docbook-sgml-dtd-native: Write a bak file for shared state 2011-08-01 14:16:55 +01:00
docbook-utils docbook-utils-native: Unbreak the build after source and build dir split 2013-03-25 20:51:19 +00:00
dosfstools dosfstools: really compile supporting large files 2013-03-29 10:40:55 +00:00
dpkg dpkg: Update to 1.16.10 2013-04-29 14:45:08 +01:00
e2fsprogs e2fsprogs: Fix case where ${B} != ${S} 2013-03-18 13:18:24 +00:00
elfutils elfutils: split libraries into separate packages 2013-04-22 14:45:04 +01:00
file file: Update to 5.14 2013-04-29 14:45:08 +01:00
flex Flex: use proper m4 binary on target 2013-02-01 15:54:03 +00:00
gcc gcc-4.8: Fix GCC ICE on arm 2013-04-22 14:45:04 +01:00
gdb gdb: Disable hard-coding of library rpaths 2013-04-29 14:45:07 +01:00
genext2fs genext2fs.inc: Add nativesdk build capability 2013-02-22 06:09:23 -08:00
git git: updated to 1.8.1.4 2013-03-05 13:14:56 +00:00
gnu-config recipes-devtools: replace virtclass-native(sdk) with class-native(sdk) 2012-11-02 16:18:29 +00:00
guile guile: add explicit dependency to avoid parallel build issue 2013-01-09 15:05:26 +00:00
guilt guilt: remove GIT_EXEC_BASE export 2013-02-04 13:18:27 +00:00
help2man help2man: update to upstream version 1.40.13 2013-01-15 08:10:10 +00:00
icecc-create-env ldconfig/cdrtools/icecc-create-env/linuxdoc-tools/python: Set FILESPATH to find -native files 2012-11-21 16:56:04 +00:00
icon-naming-utils icon-naming-utils: add SUMMARY and DESCRIPTION 2013-04-29 14:45:04 +01:00
insserv recipes-devtools: replace virtclass-native(sdk) with class-native(sdk) 2012-11-02 16:18:29 +00:00
installer adt-installer: remove patches and .pc directories from the shipped tarball 2013-03-10 04:36:51 +00:00
intltool intltool: updated to 0.50.2 2013-02-06 09:37:26 +00:00
kconfig-frontends kconfig-frontends: Update to 3.8 2013-02-28 23:15:51 +00:00
libjson libjson: add 0.9 2011-11-29 11:22:04 +00:00
libtool libtool-native_2.4.2.bb: Always use /bin/sed for SED 2013-02-13 16:52:30 +00:00
linuxdoc-tools ldconfig/cdrtools/icecc-create-env/linuxdoc-tools/python: Set FILESPATH to find -native files 2012-11-21 16:56:04 +00:00
m4 gettext,m4,augeas,gnutls: Account for removal of gets in eglibc 2.16 2012-07-17 10:54:00 +01:00
make make-3.82: Add patch from git to fix parallel make race 2013-02-11 14:46:09 +00:00
makedevs Patches: Fix Upstream-Status info 2011-07-13 12:29:20 +01:00
mkelfimage mkelfimage-native:make failed if libz not in host 2012-12-17 17:24:50 +00:00
mklibs mklibs-native: Update for python-native changes 2012-07-22 11:42:21 +01:00
mtd mtd-utils: split into multiple packages 2013-01-28 12:29:30 +00:00
mtools mtools: use same SUMMARY as newer version of mtools recipe 2013-04-29 14:45:04 +01:00
nasm nasm: Fix case where ${B} != ${S} (partial) 2013-03-18 13:18:24 +00:00
openjade openjade-native_1.3.2.bb: fix typo and change the deps exclusion to correct var 2012-07-11 11:35:52 +01:00
opensp opensp: replace obsolete automake macros with working ones 2013-01-15 08:10:12 +00:00
opkg opkg.inc: don't hardcode /var/lib/opkg 2013-04-11 16:39:39 +01:00
opkg-utils opkg-utils: Update to newer git rev for bashism fix 2013-03-26 17:50:08 +00:00
ossp-uuid ossp-uuid: fix out-of-tree builds 2012-12-14 15:05:30 +00:00
packagegroups packagegroup-*: add RREPLACES/RCONFLICTS 2012-09-04 18:03:18 +01:00
patch patch: update to upstream version 2.7.1 2012-12-19 17:54:53 +00:00
pax-utils pax-utils : upgrade to 0.7 2013-04-28 12:12:20 +01:00
perl libxml-simple-perl: add SUMMARY, DESCRIPTION and HOMEPAGE 2013-04-29 14:45:05 +01:00
pkgconfig pkgconfig: Move patches in prep for 0.28 update 2013-04-29 14:45:09 +01:00
prelink prelink: update to git head 2013-01-07 13:38:27 +00:00
pseudo Update pseudo to 1.5.1 2013-03-01 13:03:28 +00:00
python python-smartpm: fix HOMEPAGE and adjust DESCRIPTION 2013-04-29 14:45:05 +01:00
qemu qemuwrapper: use fallback in case the ELF binary is wrong 2013-04-29 14:45:09 +01:00
quilt quilt: Don't use BUILD_ROOT on darwin. 2013-01-15 08:10:15 +00:00
remake remake: Fix out of tree builds 2013-04-02 17:57:07 +01:00
rpm rpm: change arch scoring items 2013-04-29 14:45:06 +01:00
rsync rsync: Fix case where ${B} != ${S} 2013-03-18 13:18:24 +00:00
sgml-common sgml-common: use ${PN} instead of sgml-common 2013-02-04 16:42:48 +00:00
sgmlspl libxml-parser-perl, libxml-simple-perl, expat, sgmlspl-native, git: bump PR to rebuild after perl upgrade 2011-10-25 08:36:16 +01:00
squashfs-tools squashfs: fix CVE-2012-4025 2012-12-17 17:24:54 +00:00
strace strace: fix kernel release string parsing 2013-03-10 04:36:51 +00:00
subversion subversion: updated to 1.7.8 2012-12-26 11:34:09 +00:00
swabber poky-default-revisions: move the SRCREV to recipe file 2011-05-04 15:06:36 +01:00
syslinux syslinux: use BPN instead of PN 2013-02-04 16:42:49 +00:00
tcf-agent tcf-agent: Use kill instead of killproc to stop agent 2013-04-08 18:02:47 +01:00
tcltk tcl: Fix the location of the installed headers 2013-03-23 18:09:57 +00:00
transfig OECore license fixes: meta/* 2011-12-08 15:24:32 +00:00
ubootchart ubootchart: cleanup update-alternatives deprecated code 2012-08-15 14:26:28 +01:00
unfs-server recipes-devtools: replace virtclass-native(sdk) with class-native(sdk) 2012-11-02 16:18:29 +00:00
unifdef unifdef-native: Correct LICENSE 2012-08-19 10:46:39 +01:00
valgrind valgrind: Fix out of tree builds 2013-03-23 17:40:27 +00:00