Skip to content

Move CDI device spec out of the OCI package#11262

Merged
AkihiroSuda merged 2 commits intocontainerd:mainfrom
dmcgowan:fix-cdi-oci-opt
Jan 14, 2025
Merged

Move CDI device spec out of the OCI package#11262
AkihiroSuda merged 2 commits intocontainerd:mainfrom
dmcgowan:fix-cdi-oci-opt

Conversation

@dmcgowan
Copy link
Copy Markdown
Member

The CDI device injection spec opt was mistakenly added to the OCI
package which brought in an unintended dependency on CDI and its
transitive dependencies.

Not going to move it to an internal package since it may still be useful for clients. Its early enough in 2.0 to clean this up before it clients start utilizing and making it more difficult to move without breaking someone. This was quickly caught in buildkit which uses the spec opts but does not need/want those transitive dependencies pulled in.

The CDI device injection spec opt was mistakenly added to the OCI
package which brought in an unintended dependency on CDI and its
transitive dependencies.

Signed-off-by: Derek McGowan <[email protected]>
This function has been moved to prevent an unintended dependency on CDI.

Signed-off-by: Derek McGowan <[email protected]>
@dosubot dosubot Bot added the area/runtime Runtime label Jan 14, 2025
@AkihiroSuda AkihiroSuda added this pull request to the merge queue Jan 14, 2025
Merged via the queue into containerd:main with commit 04bac22 Jan 14, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants