From 4d85075e6240c839a3464fd97f22aa2253a9cea1 Mon Sep 17 00:00:00 2001 From: Simon McVittie <smcv@collabora.com> Date: Fri, 20 Sep 2024 12:57:53 +0100 Subject: [PATCH] pv-wrap: If STEAM_RUNTIME_SCOUT is set, always share it with container Steam Linux Runtime 1.0 (scout) wants access to this. steamrt/tasks#520 Signed-off-by: Simon McVittie <smcv@collabora.com> --- docs/shared-paths.md | 1 + pressure-vessel/wrap-setup.c | 1 + 2 files changed, 2 insertions(+) diff --git a/docs/shared-paths.md b/docs/shared-paths.md index a4bfae1cf..75ab290c6 100644 --- a/docs/shared-paths.md +++ b/docs/shared-paths.md @@ -230,6 +230,7 @@ the container: * `/boot` * `/root` * `$STEAM_RUNTIME` +* `$STEAM_RUNTIME_SCOUT` ## The home directory diff --git a/pressure-vessel/wrap-setup.c b/pressure-vessel/wrap-setup.c index 8bac27bd7..2dc46ccf3 100644 --- a/pressure-vessel/wrap-setup.c +++ b/pressure-vessel/wrap-setup.c @@ -1154,6 +1154,7 @@ static const EnvMount known_required_env[] = { "STEAM_COMPAT_TOOL_PATH", ENV_MOUNT_FLAGS_DEPRECATED }, { "STEAM_COMPAT_TOOL_PATHS", ENV_MOUNT_FLAGS_COLON_DELIMITED }, { "STEAM_EXTRA_COMPAT_TOOLS_PATHS", ENV_MOUNT_FLAGS_COLON_DELIMITED }, + { "STEAM_RUNTIME_SCOUT", ENV_MOUNT_FLAGS_NONE }, { "XDG_CACHE_HOME", ENV_MOUNT_FLAGS_IF_HOME_SHARED }, { "XDG_CONFIG_HOME", ENV_MOUNT_FLAGS_IF_HOME_SHARED }, { "XDG_DATA_HOME", ENV_MOUNT_FLAGS_IF_HOME_SHARED }, -- GitLab