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.
This commit is contained in:
Alexander Larsson
2019-06-12 17:01:31 +02:00
parent 4fde171055
commit f88bad8245

View File

@@ -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,