Skip to content

Conversation

allisonkarlitskaya
Copy link
Collaborator

This code pulls images via containers-image-proxy-rs (which is a wrapper around skopeo). It's a bit too large to have it in the top-level lib.rs, and we're about to add an alternate implementation, so split it out.

We keep a pull() function in place for compatibility reasons to avoid needing to update all callers: we will start using this function to dispatch to the correct implementation depending on the reference format.

This code pulls images via containers-image-proxy-rs (which is a
wrapper around skopeo).  It's a bit too large to have it in the
top-level lib.rs, and we're about to add an alternate implementation, so
split it out.

We keep a pull() function in place for compatibility reasons to avoid
needing to update all callers: we will start using this function to
dispatch to the correct implementation depending on the reference
format.

Signed-off-by: Allison Karlitskaya <[email protected]>
@allisonkarlitskaya
Copy link
Collaborator Author

allisonkarlitskaya commented Jun 3, 2025

Oh. That's worrying...

...

 kernel                x86_64 6.16.0-0.rc0.250602gcd2e103d57e5.10.fc43 rawhide      0.0   B

...

[    2.826488] composefs-setup-root[287]: Error: Invalid argument (os error 22)
[FAILED] Failed to start composefs-setup-root.service.

See 'systemctl status composefs-setup-root.service' for details.

Definitely unrelated to the changes here. Very likely fallout from https://lore.kernel.org/linux-fsdevel/20250526213217.GY2023217@ZenIV/
I'm gonna have to dig into this a bit...

@allisonkarlitskaya allisonkarlitskaya merged commit 3b6c649 into containers:main Jun 3, 2025
11 of 12 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.

2 participants