]> code.ossystems Code Review - openembedded-core.git/commit
qemu/libc-package: Fix qemu option handling
authorRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 4 Dec 2014 19:49:19 +0000 (19:49 +0000)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Fri, 5 Dec 2014 17:59:42 +0000 (17:59 +0000)
commit219e793907406eabf632e784e3a11ab9acb77cfb
treec81a77abe03887a88ca5051b9af2d634aaa5f465
parent4f301c9cd17043f039d82555f973cbbca9acd51f
qemu/libc-package: Fix qemu option handling

The 'overrides' here are PACKAGE_ARCH based and hence not overrides
as such and the _append wasn't working in many cases. This adjusts the
code to use PACKAGE_ARCH as the accessor and ensures the variables
work as expected. This fixes various segfaults and ensures postinsts
run at build time rather than on the target system.

The bug was introduced in http://git.yoctoproject.org/cgit.cgi/poky/commit/?id=7efad8a1b56df6ee07c12ad360c0493d7b1d6d23.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Ross Burton <ross.burton@intel.com>
meta/classes/libc-package.bbclass
meta/classes/qemu.bbclass
meta/recipes-devtools/qemu/qemuwrapper-cross_1.0.bb