* [PATCH 0/2] Some more yocto-check-layer fixes
@ 2026-03-28 9:49 Paul Barker
2026-03-28 9:49 ` [PATCH 1/2] checklayer: Really fix regex in get_signatures Paul Barker
2026-03-28 9:49 ` [PATCH 2/2] meson: Disable exe_wrapper for allarch recipes Paul Barker
0 siblings, 2 replies; 3+ messages in thread
From: Paul Barker @ 2026-03-28 9:49 UTC (permalink / raw)
To: openembedded-core; +Cc: Paul Barker
This should be the final set of checklayer fixes for 6.0 M3 :)
---
Paul Barker (2):
checklayer: Really fix regex in get_signatures
meson: Disable exe_wrapper for allarch recipes
meta/classes-recipe/meson.bbclass | 1 +
scripts/lib/checklayer/__init__.py | 2 +-
2 files changed, 2 insertions(+), 1 deletion(-)
---
base-commit: b50d6debf7baa555fbfb3521c4f952675bba2d37
change-id: 20260328-fix-checklayer-3-281eda60535f
Best regards,
--
Paul Barker
^ permalink raw reply [flat|nested] 3+ messages in thread* [PATCH 1/2] checklayer: Really fix regex in get_signatures
2026-03-28 9:49 [PATCH 0/2] Some more yocto-check-layer fixes Paul Barker
@ 2026-03-28 9:49 ` Paul Barker
2026-03-28 9:49 ` [PATCH 2/2] meson: Disable exe_wrapper for allarch recipes Paul Barker
1 sibling, 0 replies; 3+ messages in thread
From: Paul Barker @ 2026-03-28 9:49 UTC (permalink / raw)
To: openembedded-core; +Cc: Paul Barker
The previous attempt to fix the regex in get_signatures was only a
partial success. We should just be comparing unihash values, inclusion
of the taskhash value in our comparison adds no benefit. Inclusion of
the task hash also results in invalid bitbake-diffsigs commands being
recommended if there are conflicting signatures.
Fixes: a2f7052cf832 ("checklayer: Fix regex in get_signatures")
Signed-off-by: Paul Barker <paul@pbarker.dev>
---
scripts/lib/checklayer/__init__.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/scripts/lib/checklayer/__init__.py b/scripts/lib/checklayer/__init__.py
index 15459b6e0486..f9ba44d08d88 100644
--- a/scripts/lib/checklayer/__init__.py
+++ b/scripts/lib/checklayer/__init__.py
@@ -324,7 +324,7 @@ def get_signatures(builddir, failsafe=False, machine=None, extravars=None):
else:
raise
- sig_regex = re.compile(r"^(?P<task>[^:]*:[^:]*):(?P<hash>.*) .$")
+ sig_regex = re.compile(r"^(?P<task>[^:]*:[^:]*)(:(?P<taskhash>[^:]*))?:(?P<hash>.*) .$")
tune_regex = re.compile(r"(^|\s)SIGGEN_LOCKEDSIGS_t-(?P<tune>\S*)\s*=\s*")
current_tune = None
with open(sigs_file, 'r') as f:
--
2.43.0
^ permalink raw reply related [flat|nested] 3+ messages in thread* [PATCH 2/2] meson: Disable exe_wrapper for allarch recipes
2026-03-28 9:49 [PATCH 0/2] Some more yocto-check-layer fixes Paul Barker
2026-03-28 9:49 ` [PATCH 1/2] checklayer: Really fix regex in get_signatures Paul Barker
@ 2026-03-28 9:49 ` Paul Barker
1 sibling, 0 replies; 3+ messages in thread
From: Paul Barker @ 2026-03-28 9:49 UTC (permalink / raw)
To: openembedded-core; +Cc: Paul Barker
Arch-independent recipes should not require execution of programs
compiled for the target during the build, as there shouldn't be anything
compiled for the target.
Removing the dependency on MACHINE_FEATURES for allarch recipes which
use meson fixes several signature conflicts reported by
yocto-check-layer.
Signed-off-by: Paul Barker <paul@pbarker.dev>
---
meta/classes-recipe/meson.bbclass | 1 +
1 file changed, 1 insertion(+)
diff --git a/meta/classes-recipe/meson.bbclass b/meta/classes-recipe/meson.bbclass
index 2c098771fec2..9bed293603c2 100644
--- a/meta/classes-recipe/meson.bbclass
+++ b/meta/classes-recipe/meson.bbclass
@@ -9,6 +9,7 @@ inherit python3native meson-routines qemu
DEPENDS:append = " meson-native ninja-native"
EXEWRAPPER_ENABLED:class-native = "False"
+EXEWRAPPER_ENABLED:allarch = "False"
EXEWRAPPER_ENABLED ?= "${@bb.utils.contains('MACHINE_FEATURES', 'qemu-usermode', 'True', 'False', d)}"
DEPENDS:append = "${@' qemu-native' if d.getVar('EXEWRAPPER_ENABLED') == 'True' else ''}"
--
2.43.0
^ permalink raw reply related [flat|nested] 3+ messages in thread
end of thread, other threads:[~2026-03-28 9:50 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-03-28 9:49 [PATCH 0/2] Some more yocto-check-layer fixes Paul Barker
2026-03-28 9:49 ` [PATCH 1/2] checklayer: Really fix regex in get_signatures Paul Barker
2026-03-28 9:49 ` [PATCH 2/2] meson: Disable exe_wrapper for allarch recipes Paul Barker
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox