Skip to content

recipes: Fix nodistro checks and Telegraf module metadata#125

Merged
otavio merged 3 commits into
OSSystemsEmbeddedLinux:masterfrom
lucianogdittgen:master
Jun 18, 2026
Merged

recipes: Fix nodistro checks and Telegraf module metadata#125
otavio merged 3 commits into
OSSystemsEmbeddedLinux:masterfrom
lucianogdittgen:master

Conversation

@lucianogdittgen

Copy link
Copy Markdown
Contributor

Gate optional recipes so nodistro yocto-check-layer runs do not parse recipes
whose providers or package splits are unavailable.

  • Require the ossystems-weston-touch-calibrator distro feature for
    weston-touch-calibrator-service so it follows the same OEL policy as the
    weston-touch-calibrator package split.
  • Move cog-init to the webkit dynamic layer so it is only parsed when the cog
    provider from meta-webkit is present.
  • Add the missing github.com/klauspost/cpuid/v2 Go module and license metadata
    to Telegraf so do_compile does not fetch it from proxy.golang.org.

Comment thread conf/distro/include/oel.inc Outdated
Use the existing wayland distro feature to skip the service when Wayland support is not enabled. OEL enables wayland by default, and the Weston touch calibrator package split remains tied to the oel override.

Append the required distro feature so the recipe keeps any distro feature requirements provided by inherited classes or future recipe updates.

Signed-off-by: Luciano Gomes <luciano.dittgen@ossystems.com.br>
Move cog-init into a dynamic webkit layer so it is only parsed when
the layer providing cog is present.

This avoids yocto-check-layer failures under nodistro when no cog
provider is available in the checkout.

Signed-off-by: Luciano Gomes <luciano.dittgen@ossystems.com.br>
Regenerate the Go module metadata to include
github.com/klauspost/cpuid/v2, which is required by Telegraf's
dependency graph. Without the module in SRC_URI, do_compile attempts
to fetch it from proxy.golang.org during the build.

Signed-off-by: Luciano Gomes <luciano.dittgen@ossystems.com.br>
@otavio otavio merged commit 71c9e7f into OSSystemsEmbeddedLinux:master Jun 18, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants