Repository navigation
SDK: generate packages list - #4412
Merged
Merged
Conversation
t-lo
force-pushed
the
t-lo/generate-sdk-packages-list
branch
from
December 1, 2026 14:05
4c9089f to
87526a9
Compare
chewi
requested changes
Dec 1, 2026
chewi
left a comment
Contributor
There was a problem hiding this comment.
Looks good, just a couple of tweaks.
Bear in mind that once the new "cycle break" stuff goes in, the board roots will only have baselayout plus the TOOLCHAIN_PKGS in a fresh SDK.
t-lo
force-pushed
the
t-lo/generate-sdk-packages-list
branch
from
December 1, 2026 14:44
26e7cc5 to
944ee5c
Compare
t-lo
force-pushed
the
t-lo/generate-sdk-packages-list
branch
from
December 1, 2026 14:46
944ee5c to
669d70a
Compare
This change adds a helper script `list_sdk_packages` for listing SDK package versions and source repositories (aka overlays). Optionally, board contents (from `/build/...-usr`) can be listed instead. The new helper script is called by `build_sdk_container_image` after a build has finished to produce package contents files for the SDK root and amd64 and arm64 boards, respectively. The contents files follow the same "..._packages.txt" format used by the OS image and sysexts. Lastly, `ci-automation/sdk_container.sh` has been extended to sign and upload the package lists to the build cache server. Publishing the lists with releases is left for a follow-up PR to implement. Co-authored-by: James Le Cuirot <jlecuirot@microsoft.com> Signed-off-by: Thilo Fromm <thilofromm@microsoft.com>
t-lo
force-pushed
the
t-lo/generate-sdk-packages-list
branch
from
December 1, 2026 15:14
669d70a to
5e16275
Compare
Contributor
There was a problem hiding this comment.
🔵 Needs a closer look
Inventory queries can use an older SDK image, while retained checksum and signature sidecars can cause repeated builds to publish stale checksums or fail signing.
No open issues 🎉
3 resolved since last review
Review effort: Balanced
chewi
approved these changes
Dec 1, 2026
chewi
left a comment
Contributor
There was a problem hiding this comment.
I feel like we should be able to do the shell redirection outside the container, but too much other garbage gets written to stdout rather than stderr. Never mind.
This branch is waiting to be deployed
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.

This PR was inspired by #4334, which implements this and many other improvements.
The PR at hand is provided to break down the abovementioned cumulative PR into easier digestable chunks.
This change adds a helper script
list_sdk_packagesfor listing SDK package versions and source repositories (aka overlays). Optionally, board contents (from/build/...-usr) can be listed instead.The new helper script is called by
build_sdk_container_imageafter a build has finished to produce package contents files for the SDK root and amd64 and arm64 boards, respectively. The contents files follow the same "..._packages.txt" format used by the OS image and sysexts.Lastly,
ci-automation/sdk_container.shhas been extended to sign and upload the package lists to the build cache server.Publishing the lists with releases is left for a follow-up PR to implement.