Patchwork kexec-tools: fix architecture mismatch QA error

login
register
mail settings
Submitter Tom Zanussi
Date Oct. 1, 2011, 3:05 p.m.
Message ID <1317481534.2323.14.camel@elmorro>
Download mbox | patch
Permalink /patch/12601/
State New, archived
Headers show

Comments

Tom Zanussi - Oct. 1, 2011, 3:05 p.m.
Building sato-sdk for an x86_64 target throws this QA error:

| ERROR: QA Issue: Architecture did not match (62 to 3) on /work/x86_64-poky-li\
nux/kexec-tools-2.0.2-r1/packages-split/kexec-tools/usr/lib/kexec-tools/kexec_t\
est

kexec_test uses 32-bit code for testing - add an INSANE_SKIP exception for it.

Signed-off-by: Tom Zanussi <tom.zanussi@intel.com>
---
 meta/recipes-kernel/kexec/kexec-tools.inc |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
Richard Purdie - Oct. 5, 2011, 9:29 a.m.
On Sat, 2011-10-01 at 10:05 -0500, Tom Zanussi wrote:
> Building sato-sdk for an x86_64 target throws this QA error:
> 
> | ERROR: QA Issue: Architecture did not match (62 to 3) on /work/x86_64-poky-li\
> nux/kexec-tools-2.0.2-r1/packages-split/kexec-tools/usr/lib/kexec-tools/kexec_t\
> est
> 
> kexec_test uses 32-bit code for testing - add an INSANE_SKIP exception for it.
> 
> Signed-off-by: Tom Zanussi <tom.zanussi@intel.com>
> ---
>  meta/recipes-kernel/kexec/kexec-tools.inc |    2 ++
>  1 files changed, 2 insertions(+), 0 deletions(-)
> 
> diff --git a/meta/recipes-kernel/kexec/kexec-tools.inc b/meta/recipes-kernel/kexec/kexec-tools.inc
> index bbfb20f..278ce34 100644
> --- a/meta/recipes-kernel/kexec/kexec-tools.inc
> +++ b/meta/recipes-kernel/kexec/kexec-tools.inc
> @@ -13,3 +13,5 @@ SRC_URI = "${KERNELORG_MIRROR}/linux/utils/kernel/kexec/kexec-tools-${PV}.tar.gz
>  inherit autotools
>  
>  COMPATIBLE_HOST = '(x86_64.*|i.86.*|arm.*|powerpc.*)-(linux|freebsd.*)'
> +
> +INSANE_SKIP_${PN} = "arch"

Merged to master, thanks.

Richard

Patch

diff --git a/meta/recipes-kernel/kexec/kexec-tools.inc b/meta/recipes-kernel/kexec/kexec-tools.inc
index bbfb20f..278ce34 100644
--- a/meta/recipes-kernel/kexec/kexec-tools.inc
+++ b/meta/recipes-kernel/kexec/kexec-tools.inc
@@ -13,3 +13,5 @@  SRC_URI = "${KERNELORG_MIRROR}/linux/utils/kernel/kexec/kexec-tools-${PV}.tar.gz
 inherit autotools
 
 COMPATIBLE_HOST = '(x86_64.*|i.86.*|arm.*|powerpc.*)-(linux|freebsd.*)'
+
+INSANE_SKIP_${PN} = "arch"