[gnome-builder] flatpak: fix building without network



commit 8ac1557a92eddaa56731057ff6741fcd95bc5dd9
Author: Christian Hergert <chergert redhat com>
Date:   Tue Mar 7 02:08:13 2017 -0800

    flatpak: fix building without network
    
    We need to provide a way to update dependencies, but it is more important
    that things work without network.

 plugins/flatpak/gbp-flatpak-pipeline-addin.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/plugins/flatpak/gbp-flatpak-pipeline-addin.c b/plugins/flatpak/gbp-flatpak-pipeline-addin.c
index 7586871..6a9fe2e 100644
--- a/plugins/flatpak/gbp-flatpak-pipeline-addin.c
+++ b/plugins/flatpak/gbp-flatpak-pipeline-addin.c
@@ -230,6 +230,7 @@ register_dependencies_stage (GbpFlatpakPipelineAddin  *self,
   ide_subprocess_launcher_push_argv (launcher, "flatpak-builder");
   ide_subprocess_launcher_push_argv (launcher, "--ccache");
   ide_subprocess_launcher_push_argv (launcher, "--force-clean");
+  ide_subprocess_launcher_push_argv (launcher, "--disable-updates");
   stop_at_option = g_strdup_printf ("--stop-at=%s", primary_module);
   ide_subprocess_launcher_push_argv (launcher, stop_at_option);
   ide_subprocess_launcher_push_argv (launcher, staging_dir);


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