Message ID | 20240112150303.3807006-3-olani@axis.com |
---|---|
State | Accepted, archived |
Commit | 67b06035326048323f972107f66eb50cf74def0b |
Headers | show |
Series | [1/3] insane.bbclass: Check for adjtime in check_32_bit_symbols | expand |
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")
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")