[gnome-builder/wip/chergert/flatpak-repo] 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] flatpak: dont require cache when resolving extension
- Date: Wed, 25 Aug 2021 00:00:09 +0000 (UTC)
commit 59844f6e5b3ca2e47453bb5745317f73d7317927
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]