Skip to content

Support Yocto 5.3 (whinlatter): CI and recipe migration #275

@ajlennon

Description

@ajlennon

Summary

Yocto 5.3 (whinlatter) introduces a major breaking change: the Poky repository no longer has release branches for whinlatter and later releases. This means our current CI approach of git clone git://git.yoctoproject.org/poky -b <branch> will not work for whinlatter.

See: https://docs.yoctoproject.org/dev/migration-guides/migration-5.3.html

CI Workflow Changes Required

The "Update repo poky" step must be replaced for whinlatter builds. Two options:

  1. Individual clones of bitbake, openembedded-core, meta-yocto (recommended for CI - explicit and reliable)
  2. bitbake-setup tool (new upstream tooling)

The environment init also changes from . ./poky/oe-init-build-env to the openembedded-core init script.

The meta-openembedded clone step may also need updating depending on whether that repo follows the same pattern.

Recipe Changes Required

Whitespace around assignments (warnings)

The following files have assignments without whitespace around =, which will generate warnings in whinlatter:

  • recipes-mono/nuget/nuget.inc:7PACKAGE_ARCH="all"
  • recipes-mono/mono/mono-git.inc:86PARALLEL_MAKEINST=""
  • recipes-mono/mono/mono-6.xx.inc:130PARALLEL_MAKEINST=""
  • recipes-mono/mono/mono-5.xx.inc:109PARALLEL_MAKEINST=""
  • recipes-mono/mono/mono-4.xx.inc:97PARALLEL_MAKEINST=""

No issues found (good)

  • No S = "${WORKDIR}/git" patterns (already correct)
  • No git:// SRC_URI with tag= parameter
  • No kernel-fitimage class usage
  • WORKDIR usage for HOME/DOTNET_CLI_HOME exports is fine (temp dirs, not source dirs)

layer.conf

LAYERSERIES_COMPAT needs to include whinlatter.

References

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions