[gnome-builder] flatpak: disable related-refs on install/update



commit 99efaae000603c904d27f68fa02f9f65705a1d6b
Author: Christian Hergert <chergert redhat com>
Date:   Tue Sep 28 10:19:59 2021 -0700

    flatpak: disable related-refs on install/update
    
    These can potentially break the install of SDKs if it pulls in something
    with extra_data (like some FreeDesktop extensions). Of course, if any
    particular SDK has extra_data, we'll fail the whole flatpak-bwrap dance
    so in the long term, we probably need coordination from the Flatpak
    Development D-Bus service if we want to keep going down this route.
    
    Related #1532

 src/plugins/flatpak/daemon/ipc-flatpak-service-impl.c | 2 ++
 1 file changed, 2 insertions(+)
---
diff --git a/src/plugins/flatpak/daemon/ipc-flatpak-service-impl.c 
b/src/plugins/flatpak/daemon/ipc-flatpak-service-impl.c
index 9d3c80e7b..dcdc16776 100644
--- a/src/plugins/flatpak/daemon/ipc-flatpak-service-impl.c
+++ b/src/plugins/flatpak/daemon/ipc-flatpak-service-impl.c
@@ -796,6 +796,8 @@ install_worker (GTask        *task,
               return;
             }
 
+          flatpak_transaction_set_disable_related (transaction, TRUE);
+
           g_signal_connect_object (transaction,
                                    "new-operation",
                                    G_CALLBACK (on_new_operation_cb),


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]