Skip to content

Add OnlyOS function allow matching any architecture#33

Merged
fuweid merged 1 commit intocontainerd:mainfrom
dmcgowan:only-os
Mar 31, 2026
Merged

Add OnlyOS function allow matching any architecture#33
fuweid merged 1 commit intocontainerd:mainfrom
dmcgowan:only-os

Conversation

@dmcgowan
Copy link
Copy Markdown
Member

Ensures that the same OS is matched but only considers architectures for compare.

This comparison would be used for unpack cases where any hardware platform on a given OS could be unpacked. Currently containerd has a skip platform check option in the transfer service which is only intended to match any hardware platform. It would be better to have this matcher in the platforms library.

Ensures that the same OS is matched but only considers architectures for
compare.

Signed-off-by: Derek McGowan <derek@mcg.dev>
@hsiangkao hsiangkao requested review from cpuguy83 and fuweid March 31, 2026 07:16
@hsiangkao
Copy link
Copy Markdown
Member

This will address containerd/containerd#13091 (comment)

@fuweid fuweid merged commit 09756f5 into containerd:main Mar 31, 2026
7 checks passed
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.

4 participants