Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

simplestreams: Adds support for incus.tar.xz items #12260

Merged
merged 1 commit into from
Sep 15, 2023

Conversation

tomponline
Copy link
Member

@tomponline tomponline commented Sep 15, 2023

Also adds support for the new Requirements field as an alternative to the existing LXDRequirements field.

This is to maintain LXD's compatibility with the community images.linuxcontainers.org images from the images: remote in the lxc client.

Fixes #12206

Closes #12232

@tomponline tomponline changed the title shared/simplestreams/products: Adds support for incus.tar.xz items simplestreams: Adds support for incus.tar.xz items Sep 15, 2023
@tomponline tomponline self-assigned this Sep 15, 2023
@tomponline
Copy link
Member Author

@stgraber will you also be switching to incus_combined.tar.gz items btw? Thanks

@stgraber
Copy link
Contributor

We did in our simplestreams package, yeah, but I'm not aware of anyone ever distributing a combined image so far, so unlikely to matter much.

MusicDin
MusicDin previously approved these changes Sep 15, 2023
@tomponline
Copy link
Member Author

We did in our simplestreams package, yeah, but I'm not aware of anyone ever distributing a combined image so far, so unlikely to matter much.

Thanks I'll add support for it just in case.

@tomponline
Copy link
Member Author

@stgraber am I right in thinking LXD/Incus would only need to match the first of either {lxd|incus}.tar.xz or {lxd|incus}_combined.tar.xz for a particular version, and that there would be no expectation to match both combined and non-combined variants for a particular version?

Also adds support for the new `Requirements` field as an alternative to the existing `LXDRequirements` field.

Fixes canonical#12206

Signed-off-by: Thomas Parrott <[email protected]>
@stgraber
Copy link
Contributor

Yeah, I think that's right

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.

Update images.linuxcontainers.org image handling ready for forthcoming metadata changes
5 participants