From f88bad8245c45039deb58c8ff702a12dcb6531df Mon Sep 17 00:00:00 2001 From: Alexander Larsson Date: Wed, 12 Jun 2019 17:01:31 +0200 Subject: [PATCH] oci: Query for org.flatpak.ref label instead of annotation This is not compatible with the old stuff, but works with registries that only support the docker manifest format. --- common/flatpak-oci-registry.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/flatpak-oci-registry.c b/common/flatpak-oci-registry.c index 7058cf0d..cfd628e4 100644 --- a/common/flatpak-oci-registry.c +++ b/common/flatpak-oci-registry.c @@ -1995,7 +1995,7 @@ flatpak_oci_index_ensure_cached (SoupSession *soup_session, oci_arch = flatpak_arch_to_oci_arch (flatpak_get_arch ()); soup_uri_set_query_from_fields (query_uri, - "annotation:org.flatpak.ref:exists", "1", + "label:org.flatpak.ref:exists", "1", "architecture", oci_arch, "os", "linux", "tag", tag,