[gnome-builder/gnome-builder-3-40] podman: copy XDG_DATA_DIRS and XDG_RUNTIME_DIR
- From: Christian Hergert <chergert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-builder/gnome-builder-3-40] podman: copy XDG_DATA_DIRS and XDG_RUNTIME_DIR
- Date: Thu, 6 May 2021 02:24:53 +0000 (UTC)
commit 87e0fa49601ac9a4134eb3c8558df2d5fa04e6f9
Author: Christian Hergert <chergert redhat com>
Date: Thu Apr 22 09:16:39 2021 -0700
podman: copy XDG_DATA_DIRS and XDG_RUNTIME_DIR
Copy the data and runtime dir environment variables when using podman as
that will not be automatically done for us elsewhere now.
Related #1442
src/plugins/podman/gbp-podman-subprocess-launcher.c | 2 ++
1 file changed, 2 insertions(+)
---
diff --git a/src/plugins/podman/gbp-podman-subprocess-launcher.c
b/src/plugins/podman/gbp-podman-subprocess-launcher.c
index 7b389a264..e2fe38b96 100644
--- a/src/plugins/podman/gbp-podman-subprocess-launcher.c
+++ b/src/plugins/podman/gbp-podman-subprocess-launcher.c
@@ -128,6 +128,8 @@ gbp_podman_subprocess_launcher_spawn (IdeSubprocessLauncher *launcher,
copy_envvar (launcher, &i, "SSH_AUTH_SOCK");
copy_envvar (launcher, &i, "WAYLAND_DISPLAY");
copy_envvar (launcher, &i, "XDG_CURRENT_DESKTOP");
+ copy_envvar (launcher, &i, "XDG_DATA_DIRS");
+ copy_envvar (launcher, &i, "XDG_RUNTIME_DIR");
copy_envvar (launcher, &i, "XDG_SEAT");
copy_envvar (launcher, &i, "XDG_SESSION_DESKTOP");
copy_envvar (launcher, &i, "XDG_SESSION_ID");
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]