]> code.ossystems Code Review - openembedded-core.git/commit
insane.bbclass: fix elf.arch not matching error for x32 kernel
authorNitin A Kamble <nitin.a.kamble@intel.com>
Wed, 11 Jan 2012 01:33:31 +0000 (17:33 -0800)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Tue, 17 Jan 2012 14:52:57 +0000 (14:52 +0000)
commit74686edafa241839d3880e06740ee7450ff94fd8
treeebe7007b941166a6849c8771f2adc36326147273
parentf29dd1173c261c46b0c3d0d30f94a45c011a72de
insane.bbclass: fix elf.arch not matching error for x32 kernel

For x32 the user space is 32bit and the kernel is 64bit.
So the elf.arch for vmlinuz is x86_64 and not x86. This commit
fixes this QA error thrown for x32 kernel.

| ERROR: QA Issue: Architecture did not match (62 to 3) on
/work/qemux86_64-poky-linux-gnux32/linux-korg-3.1+git1+e2bf8464ddbf5da24d3d320cded5691828a91a0b-r1/packages-split/kernel-vmlinux/boot/vmlinux-3.1.0-yocto-standard-01628-ge2bf846
Signed-off-by: Nitin A Kamble <nitin.a.kamble@intel.com>
meta/classes/insane.bbclass