[PATCH v2 0/8] Further check-layer fixes

Paul Barker
2026-03-19T16:05:02Z

Following on from recent changes merged to master, the patches here fix
yocto-check-layer issues and clean up unnecessarily arch-dependent
PACKAGECONFIG / SRC_URI values.

The vardep changes I had in v1 of this series were the wrong way to try
to fix the remaining issues. Instead, the PACKAGECONFIG test in
do_recipe_qa needs moving to a different point in the build process to
allow for arch-dependent values. We can't eliminate all architecture
dependencies from PACKAGECONFIG, it would be too difficult to support
all valid use cases with that restriction.

Moving the PACKAGECONFIG QA test is left for another patch series. These
patches can be taken independently while we continue to figure out the
correct solution for the QA test.

---
Changes in v2:
- Dropped unnecessary changes to vardeps.
- Improved commit message for initscripts SRC_URI change.
- Link to v1: https://lore.kernel.org/r/20260318-fix-checklayer-2-v1-0-388ba6ce47cd@pbarker.dev

---
Paul Barker (8):
checklayer: Fix regex in get_signatures
curl: Drop arch dependent search paths
ghostscript: Drop arch dependent search paths
libssh2: Drop arch dependent search paths
flac: Use arch independent search path
gettext: Use arch independent search paths
gnutls: Use arch independent search paths
initscripts: Make SRC_URI arch independent

meta/recipes-core/gettext/gettext_1.0.bb | 4 ++--
meta/recipes-core/initscripts/initscripts_1.0.bb | 4 +---
meta/recipes-extended/ghostscript/ghostscript_10.06.0.bb | 3 +--
meta/recipes-multimedia/flac/flac_1.5.0.bb | 2 +-
meta/recipes-support/curl/curl_8.19.0.bb | 2 +-
meta/recipes-support/gnutls/gnutls_3.8.12.bb | 4 ++--
meta/recipes-support/libssh2/libssh2_1.11.1.bb | 3 +--
scripts/lib/checklayer/__init__.py | 2 +-
8 files changed, 10 insertions(+), 14 deletions(-)
---
base-commit: aeb2a667b93a14dec2fb9f564c77912b56803d2b
change-id: 20260318-fix-checklayer-2-af057a82ca74

Best regards,
--
Paul Barker