Commit e297ead8 authored by Christian Hergert's avatar Christian Hergert
Browse files

flatpak: do not allow downloads from dependencies stage

This needs to be done in the earlier downloads stage. Otherwise,
we might try to download a second time, which is pretty damn
annoying (and not possible w/o network connection anyway).
parent 38fe8e11
......@@ -338,11 +338,14 @@ register_dependencies_stage (GbpFlatpakPipelineAddin *self,
ide_subprocess_launcher_push_argv (launcher, "--ccache");
ide_subprocess_launcher_push_argv (launcher, "--force-clean");
ide_subprocess_launcher_push_argv (launcher, "--disable-updates");
ide_subprocess_launcher_push_argv (launcher, "--disable-download");
if (self->state_dir != NULL)
{
ide_subprocess_launcher_push_argv (launcher, "--state-dir");
ide_subprocess_launcher_push_argv (launcher, self->state_dir);
}
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);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment