[gnome-builder/wip/chergert/flatpak-repo: 9/11] flatpak: dont require cache when resolving extension
- From: Christian Hergert <chergert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-builder/wip/chergert/flatpak-repo: 9/11] flatpak: dont require cache when resolving extension
- Date: Wed, 25 Aug 2021 00:01:28 +0000 (UTC)
commit f8f281a035614312d69276de8af9f1736a906065
Author: Christian Hergert <chergert redhat com>
Date: Tue Aug 24 16:52:55 2021 -0700
flatpak: dont require cache when resolving extension
We need updates to be able to resolve extensions.
We'll need more testing to ensure we don't block startup on long operations
but this will get us started.
src/plugins/flatpak/daemon/ipc-flatpak-service-impl.c | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)
---
diff --git a/src/plugins/flatpak/daemon/ipc-flatpak-service-impl.c
b/src/plugins/flatpak/daemon/ipc-flatpak-service-impl.c
index 4252c6353..55618f470 100644
--- a/src/plugins/flatpak/daemon/ipc-flatpak-service-impl.c
+++ b/src/plugins/flatpak/daemon/ipc-flatpak-service-impl.c
@@ -1067,10 +1067,8 @@ resolve_extension (GPtrArray *installations,
if (sdk_arch == NULL)
sdk_arch = g_strdup (flatpak_get_default_arch ());
- if (str_equal0 (sdk_arch, flatpak_get_default_arch ()))
- flags |= FLATPAK_QUERY_FLAGS_ONLY_CACHED;
#if FLATPAK_CHECK_VERSION(1, 11, 2)
- else
+ if (!str_equal0 (sdk_arch, flatpak_get_default_arch ()))
flags |= FLATPAK_QUERY_FLAGS_ALL_ARCHES;
#else
# warning "Flatpak is too old, searching for alternate arches will not work"
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]