feat(yocto): layer pins from kas, repo manifests and submodules, and a finding when the Yocto release is end of life
CI / Check (push) Skipped
CI / Detect Changes (pull_request) Skipped
CI / Deploy Agent (pull_request) Skipped
CI / Deploy Dashboard (pull_request) Skipped
CI / Deploy Docs (pull_request) Skipped
CI / Deploy MCP (pull_request) Skipped
CI / Check (pull_request) Successful in 10m48s
CI / Check (push) Skipped
CI / Detect Changes (pull_request) Skipped
CI / Deploy Agent (pull_request) Skipped
CI / Deploy Dashboard (pull_request) Skipped
CI / Deploy Docs (pull_request) Skipped
CI / Deploy MCP (pull_request) Skipped
CI / Check (pull_request) Successful in 10m48s
- kas files (local includes merged as kas does, cycles end, remote and
missing includes named and never fetched, lock-file overrides), repo
manifests (remote/default inheritance, includes, extend/remove-project)
and .gitmodules with the gitlink commit of a checkout are read as layer
pins; YAML alias expansion is bounded, manifests with a DTD are refused.
- The pins and the release they make up are stored on the target
(layer_pins) and shown on the target page ("Layer-Stände").
- The release comes from the poky / openembedded-core / meta-openembedded
branch or tag, else LAYERSERIES_COMPAT_core, else the newest release all
customer layers declare. A table of Yocto releases (wiki + endoflife.date,
checked 2026-10-09) gives LTS and end of life.
- yocto-release-eol (high) / yocto-release-eol-soon (medium, within six
months) bound to cra-ai-22; an unknown release is a skipped stage.
- Nightly fixture pins Poky to Dunfell; baseline records pins and release.
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01EYKjxacrr6K88DruUmP48p
This commit is contained in:
1 parent
64f5a810dd
commit
fbce707aec
30 files changed
+2549
-8
No files matched your search
@@ -1212,6 +1212,19 @@
|
||||
"android-min-sdk-end-of-support"
|
||||
],
|
||||
"check": "The platform a product is built for, and the tools it is built with, must still receive security updates; an Android API level, a Unity editor release, an iOS deployment target or an Android minimum API level out of support, or a Swift version no supported Xcode builds, violates it."
|
||||
},
|
||||
{
|
||||
"tool": "yocto-release",
|
||||
"scan_type": "sbom",
|
||||
"languages": [
|
||||
"bitbake"
|
||||
],
|
||||
"cwe": [],
|
||||
"rules": [
|
||||
"yocto-release-eol",
|
||||
"yocto-release-eol-soon"
|
||||
],
|
||||
"check": "The Yocto release an embedded Linux image is built from must still receive security updates over the product's support period (CRA Annex I Part I (2)(c) and Part II); layers pinned to a release past, or within six months of, the Yocto Project's end of support violate it."
|
||||
}
|
||||
],
|
||||
"note": null,
|
||||
|
||||
@@ -294,6 +294,14 @@ mod tests {
|
||||
controls("dotnet-lifecycle", "dotnet-framework-end-of-support"),
|
||||
["cra-ai-22"]
|
||||
);
|
||||
assert_eq!(
|
||||
controls("yocto-release", "yocto-release-eol"),
|
||||
["cra-ai-22"]
|
||||
);
|
||||
assert_eq!(
|
||||
controls("yocto-release", "yocto-release-eol-soon"),
|
||||
["cra-ai-22"]
|
||||
);
|
||||
}
|
||||
|
||||
#[test]
|
||||
|
||||
Reference in new issue
Block a user