Openembedded Core Discussions
 help / color / mirror / Atom feed
From: Ola x Nilsson <ola.x.nilsson@axis.com>
To: Ola x Nilsson <olani@axis.com>
Cc: <openembedded-core@lists.openembedded.org>
Subject: Re: [OE-core] [PATCH 3/3] insane.bbclass: Python code cleanup in check_32bit_symbols
Date: Fri, 12 Jan 2024 16:14:10 +0100	[thread overview]
Message-ID: <jwqle8uy464.fsf@axis.com> (raw)
In-Reply-To: <20240112150303.3807006-3-olani@axis.com>


Forgot the signed-off footer, v2 sent

/Ola

On Fri, Jan 12 2024, Ola x Nilsson wrote:

> ---
>  meta/classes-global/insane.bbclass | 6 +++---
>  1 file changed, 3 insertions(+), 3 deletions(-)
>
> diff --git a/meta/classes-global/insane.bbclass b/meta/classes-global/insane.bbclass
> index 1ff6a319c4..26457764ce 100644
> --- a/meta/classes-global/insane.bbclass
> +++ b/meta/classes-global/insane.bbclass
> @@ -514,9 +514,9 @@ def check_32bit_symbols(path, packagename, d, elf, messages):
>      """
>      Check that ELF files do not use any 32 bit time APIs from glibc.
>      """
> -    thirtytwo_bit_time_archs = set(('arm','armeb','mipsarcho32','powerpc','x86'))
> +    thirtytwo_bit_time_archs = {'arm','armeb','mipsarcho32','powerpc','x86'}
>      overrides = set(d.getVar('OVERRIDES').split(':'))
> -    if not(thirtytwo_bit_time_archs & overrides):
> +    if not (thirtytwo_bit_time_archs & overrides):
>          return
>  
>      import re
> @@ -1606,7 +1606,7 @@ do_unpack[postfuncs] += "do_qa_unpack"
>  
>  python () {
>      import re
> -    
> +
>      tests = d.getVar('ALL_QA').split()
>      if "desktop" in tests:
>          d.appendVar("PACKAGE_DEPENDS", " desktop-file-utils-native")


-- 
Ola x Nilsson


      reply	other threads:[~2024-01-12 15:14 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-01-12 15:03 [PATCH 1/3] insane.bbclass: Check for adjtime in check_32_bit_symbols Ola x Nilsson
2024-01-12 15:03 ` [PATCH 2/3] insane.bbclass: Make check_32bit_symbols check for file functions too Ola x Nilsson
2024-01-12 15:03 ` [PATCH 3/3] insane.bbclass: Python code cleanup in check_32bit_symbols Ola x Nilsson
2024-01-12 15:14   ` Ola x Nilsson [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=jwqle8uy464.fsf@axis.com \
    --to=ola.x.nilsson@axis.com \
    --cc=olani@axis.com \
    --cc=openembedded-core@lists.openembedded.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox