-
Notifications
You must be signed in to change notification settings - Fork 31
Description
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:
- Individual clones of
bitbake,openembedded-core,meta-yocto(recommended for CI - explicit and reliable) bitbake-setuptool (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:7—PACKAGE_ARCH="all"recipes-mono/mono/mono-git.inc:86—PARALLEL_MAKEINST=""recipes-mono/mono/mono-6.xx.inc:130—PARALLEL_MAKEINST=""recipes-mono/mono/mono-5.xx.inc:109—PARALLEL_MAKEINST=""recipes-mono/mono/mono-4.xx.inc:97—PARALLEL_MAKEINST=""
No issues found (good)
- No
S = "${WORKDIR}/git"patterns (already correct) - No
git://SRC_URI withtag=parameter - No
kernel-fitimageclass usage WORKDIRusage for HOME/DOTNET_CLI_HOME exports is fine (temp dirs, not source dirs)
layer.conf
LAYERSERIES_COMPAT needs to include whinlatter.
References
- Migration guide: https://docs.yoctoproject.org/dev/migration-guides/migration-5.3.html
- Poky deprecation background: https://lists.openembedded.org/g/openembedded-architecture/message/2179