[oe] [PATCH] insane.bbclass: fix the check for bad RPATH
Khem Raj
raj.khem at gmail.com
Sat Feb 12 00:38:30 UTC 2011
On (03/02/11 02:00), Denys Dmytriyenko wrote:
> * Variable 'sane' is boolean, so adding to it breaks the error condition
> * Fixes previous commit 6aa31074 ported from Yocto
>
> Signed-off-by: Denys Dmytriyenko <denis at denix.org>
Acked-by: Khem Raj <raj.khem at gmail.com>
> ---
> classes/insane.bbclass | 2 +-
> 1 files changed, 1 insertions(+), 1 deletions(-)
>
> diff --git a/classes/insane.bbclass b/classes/insane.bbclass
> index 50752b5..a846832 100644
> --- a/classes/insane.bbclass
> +++ b/classes/insane.bbclass
> @@ -174,7 +174,7 @@ def package_qa_check_rpath(file,name,d, elf):
> for dir in bad_dirs:
> if dir in line:
> error_msg = "package %s contains bad RPATH %s in file %s" % (name, line, file)
> - sane = sane + package_qa_handle_error(1, error_msg, name, file, d)
> + sane = package_qa_handle_error(1, error_msg, name, file, d)
>
> return sane
>
> --
> 1.7.4
>
>
> _______________________________________________
> Openembedded-devel mailing list
> Openembedded-devel at lists.openembedded.org
> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel
More information about the Openembedded-devel
mailing list