[gnome-builder/gnome-builder-3-32] podman: override run_on_host from fixup



commit 4b3e3c0d6e687ef9685447077b3bd9bdac93c59f
Author: Christian Hergert <chergert redhat com>
Date:   Wed Apr 3 14:44:13 2019 -0700

    podman: override run_on_host from fixup

 src/plugins/podman/gbp-podman-subprocess-launcher.c | 3 +++
 1 file changed, 3 insertions(+)
---
diff --git a/src/plugins/podman/gbp-podman-subprocess-launcher.c 
b/src/plugins/podman/gbp-podman-subprocess-launcher.c
index 118b944cb..461a063e3 100644
--- a/src/plugins/podman/gbp-podman-subprocess-launcher.c
+++ b/src/plugins/podman/gbp-podman-subprocess-launcher.c
@@ -66,6 +66,9 @@ gbp_podman_subprocess_launcher_spawn (IdeSubprocessLauncher  *launcher,
   g_assert (!cancellable || G_IS_CANCELLABLE (cancellable));
   g_assert (self->id != NULL);
 
+  /* Override any plugin setting, we need to prefix "podman" from host */
+  ide_subprocess_launcher_set_run_on_host (launcher, TRUE);
+
   argv = ide_subprocess_launcher_get_argv (launcher);
 
   if (!ide_str_equal0 (argv[0], "podman"))


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