Skip to content

set_lsb_release: Fix running this against the SDK itself#3765

Merged
chewi merged 1 commit intomainfrom
chewi/os-release-sdk
Mar 4, 2026
Merged

set_lsb_release: Fix running this against the SDK itself#3765
chewi merged 1 commit intomainfrom
chewi/os-release-sdk

Conversation

@chewi
Copy link
Contributor

@chewi chewi commented Mar 4, 2026

set_lsb_release: Fix running this against the SDK itself

I hadn't realised this is called for the SDK itself, i.e. without an applicable "board". I find having the SDK's os-release to be largely the same as the image's a little odd, but that's a different problem.

How to use

./build_library/set_lsb_release --root /
cat /etc/os-release

./build_library/set_lsb_release --root /build/amd64-usr --board=amd64-usr
cat /board/amd64-usr/etc/os-release

Testing done

I've tried the above locally. The change is fairly trivial.

  • Changelog entries added in the respective changelog/ directory (user-facing change, bug fix, security fix, update) -- N/A
  • Inspected CI output for image differences: /boot and /usr size, packages, list files for any missing binaries, kernel modules, config files, kernel modules, etc.

I hadn't realised this is called for the SDK itself, i.e. without an
applicable "board". I find having the SDK's os-release to be largely the
same as the image's a little odd, but that's a different problem.

Signed-off-by: James Le Cuirot <jlecuirot@microsoft.com>
@chewi chewi self-assigned this Mar 4, 2026
@chewi chewi requested a review from a team as a code owner March 4, 2026 09:49
@chewi chewi merged commit 3749280 into main Mar 4, 2026
4 of 5 checks passed
@chewi chewi deleted the chewi/os-release-sdk branch March 4, 2026 10:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants