wrynose: recipe fixes + CI HTTPS clone (fix #282)#283
Draft
ajlennon wants to merge 21 commits into
Draft
Conversation
- README: remove walnascar (5.2, EOL Nov 2025) and styhead (5.1, EOL), add whinlatter (5.3, supported until May 2026), fix kirkstone LTS date to Apr. 2026, update status date to Feb 2026 - layer.conf: update LAYERSERIES_COMPAT_mono from styhead to whinlatter - CI: test against whinlatter poky instead of styhead, remove feature/yocto-layer-compliance branch triggers (merged) Co-authored-by: Cursor <cursoragent@cursor.com>
Co-authored-by: Cursor <cursoragent@cursor.com>
Signed-off-by: Marian Cingel <cingel.marian@gmail.com>
…git" Signed-off-by: Marian Cingel <cingel.marian@gmail.com>
- suppress github archive QA issue - fix Upstream-Status in patches Signed-off-by: Marian Cingel <cingel.marian@gmail.com>
PR #282 failed at Update repo poky because git://git.yoctoproject.org times out: the hostname is behind Cloudflare, which does not carry the native git protocol. Switch clones to HTTPS, detect LAYERSERIES_COMPAT from conf/layer.conf, and set up oe-core/bitbake/meta-yocto for whinlatter and wrynose instead of hardcoding a styhead/whinlatter poky matrix branch. Co-authored-by: Alex Lennon <ajlennon@dynamicdevices.co.uk>
Wrynose meta-poky no longer ships conf/templates/default, so oe-init failed with a missing TEMPLATECONF path. Use oe-core defaults for wrynose and add meta-poky, meta-yocto-bsp, and DISTRO=poky explicitly. Co-authored-by: Alex Lennon <ajlennon@dynamicdevices.co.uk>
Wrynose removed cve-check.bbclass, so INHERIT += cve-check fails parse. Enable the core/yocto/sbom-cve-check fragment instead and collect the image-level sbom-cve-check JSON reports after the test image build. Co-authored-by: Alex Lennon <ajlennon@dynamicdevices.co.uk>
Closed
The wrynose image build halted with BB_DISKMON HALT at ~0.1GB free while compiling clang/llvm/rust. Clear leftover per-release trees from older CI layouts and enable core/yocto/sstate-mirror-cdn so those natives can come from the project sstate cache instead of filling the disk. Co-authored-by: Alex Lennon <ajlennon@dynamicdevices.co.uk>
sstate-mirror-cdn sets BB_HASHSERVE_UPSTREAM=wss://..., which needs the Python websockets module on the build host. Install it before bitbake. Also remove the temporary cleansstate step — it is unnecessary for a fresh wrynose build and only added parse overhead. Co-authored-by: Alex Lennon <ajlennon@dynamicdevices.co.uk>
$HOME/.local is not writable in the yocto-ci-build container, so pip --user failed. Install into $GITHUB_WORKSPACE/.pip-packages and export PYTHONPATH for later bitbake steps. Co-authored-by: Alex Lennon <ajlennon@dynamicdevices.co.uk>
The sstate-mirror-cdn fragment enables wss hashserv, which needs the websockets module inside bitbake's Python. pip installs were not visible to bitbake in this container. Keep the HTTP sstate mirror alone so prebuilts can still be fetched without hashserv. Co-authored-by: Alex Lennon <ajlennon@dynamicdevices.co.uk>
Drop core/yocto/sstate-mirror-cdn (needs websockets for wss hashserv) and configure the HTTP sstate mirror directly instead. Co-authored-by: Alex Lennon <ajlennon@dynamicdevices.co.uk>
The class-native dotnet wrapper used `SELF_DIR = "..."` which is invalid shell (spaces around =), so sh treated SELF_DIR as a command and dotnet-helloworld do_compile failed with exit 127. Use shell assignment instead. Also add bitbake-required whitespace around recipe-level export assignments for wrynose. Co-authored-by: Alex Lennon <ajlennon@dynamicdevices.co.uk>
BitBake warns on export FOO="bar"; use export FOO = "bar". Co-authored-by: Alex Lennon <ajlennon@dynamicdevices.co.uk>
do_create_image_sbom_spdx excludes DATETIME from its task hash while the deployed SPDX file is named with IMAGE_NAME (which includes DATETIME). Setscene can restore a stale filename and do_sbom_cve_check fails looking for the current IMAGE_NAME.spdx.json. Co-authored-by: Alex Lennon <ajlennon@dynamicdevices.co.uk>
local.conf rejects flag:remove syntax, so the previous DATETIME vardepsexclude workaround failed to parse. Instead add a per-run META_MONO_CI_BUILD_ID to do_create_image_sbom_spdx[vardeps] so setscene cannot restore an SPDX file named with a prior IMAGE_NAME timestamp. Co-authored-by: Alex Lennon <ajlennon@dynamicdevices.co.uk>
wrynose testimage requires allow-empty-password, empty-root-password, and allow-root-login. Set them on the test image and enable the matching OE fragment in CI so bitbake -c testimage can log in over qemu. Co-authored-by: Alex Lennon <ajlennon@dynamicdevices.co.uk>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Supersedes CI failures on #282.
Fixes landed so far
git://togit.yoctoproject.orgmeta-pokydropped templates; use oe-core defaults + poky layerscve-checkSELF_DIR = "..."was invalid shell (spaces); brokedotnet-helloworlddo_compileexport FOO="bar"Based on Marian Cingel's wrynose recipe work from #282.