- Nov 24, 2020
-
-
When a game is launched with a custom launch option as: "LD_LIBRARY_PATH="/my_libs:${LD_LIBRARY_PATH}" %command%" we want to treat /my_libs as if it were part of the OS-level search path. Instead of overloading "SYSTEM_LD_LIBRARY_PATH", this patch introduces a new, more appropriate, environment variable called "PRESSURE_VESSEL_APP_LD_LIBRARY_PATH". Please note that "PRESSURE_VESSEL_APP_LD_LIBRARY_PATH" will also contain the system paths that are coming from `ldconfig` (added by the "run.sh" script). Signed-off-by:
Ludovico de Nittis <ludovico.denittis@collabora.com>
-
- Nov 17, 2020
-
-
Simon McVittie authored
Apparently NixOS puts it somewhere else, although it does at least concede that a path other than /usr/bin for env is doomed to failure. Signed-off-by:
Simon McVittie <smcv@collabora.com>
-
- Oct 26, 2020
-
-
Simon McVittie authored
In newer versions of bash, an empty array counts as having been set, and can be dereferenced as `"${array[@]}"` without triggering `set -u`. However, in older versions, empty arrays count as being unset, and the entry point script fails with `launch_args[@]: unbound variable`. Resolves: https://github.com/ValveSoftware/steam-runtime/issues/284 Signed-off-by:
Simon McVittie <smcv@collabora.com>
-
- Oct 22, 2020
-
-
Simon McVittie authored
Apparently Wine/Proton processes often get stuck during teardown, resulting in an unwanted delay. Signed-off-by:
Simon McVittie <smcv@collabora.com>
-
- Sep 30, 2020
-
-
Ludovico de Nittis authored
If set, use PRESSURE_VESSEL_SOCKET_DIR in preference to XDG_RUNTIME_DIR. This is useful for example when we are in a Flatpak environment where we can't relay on XDG_RUNTIME_DIR because its value might differ between inside and outside the container. Signed-off-by:
Ludovico de Nittis <ludovico.denittis@collabora.com>
-
- Sep 28, 2020
-
-
Ludovico de Nittis authored
Instead of manually whitelisting all the environment variables that we might need, we pass them all. Pressure-vessel then will filter out the variables that are know to be wrong in the sandbox and the ones that will be edited. Signed-off-by:
Ludovico de Nittis <ludovico.denittis@collabora.com>
-
- Sep 11, 2020
-
-
Ludovico de Nittis authored
Previously to Bash 4.4, using `${container_args[@]}` was an error if `container_args` was an empty array. With this fix we expand to the array elements only if the array is not empty. (Fixes: T23654) Signed-off-by:
Ludovico de Nittis <ludovico.denittis@collabora.com>
-
- Sep 08, 2020
-
-
Simon McVittie authored
This assumes pressure-vessel sets it when appropriate (pressure-vessel!81). Signed-off-by:
Simon McVittie <smcv@collabora.com>
-
Simon McVittie authored
This requires pressure-vessel!79. Signed-off-by:
Simon McVittie <smcv@collabora.com>
-
Simon McVittie authored
This replaces the equivalent functionality in pv-wrap, which we cannot use when we are only using pv-wrap to run pv-launcher. It requires pressure-vessel!78. Resolves: #2 Signed-off-by:
Simon McVittie <smcv@collabora.com>
-
- Sep 04, 2020
-
-
Simon McVittie authored
This prevents the game's options (if they start with --, e.g. Subnautica) from being interpreted as options for the adverb. Thanks: Andrew Eikum Resolves: #1
-
- Aug 27, 2020
-
-
Simon McVittie authored
Signed-off-by:
Simon McVittie <smcv@collabora.com>
-
Simon McVittie authored
STEAM_COMPAT_APP_LIBRARY_PATH and STEAM_COMPAT_MOUNT_PATHS have gone away, and we now have STEAM_COMPAT_INSTALL_PATH, STEAM_COMPAT_LIBRARY_PATHS and STEAM_COMPAT_SHADER_PATH instead. A future Steam version will add STEAM_COMPAT_MOUNTS. Signed-off-by:
Simon McVittie <smcv@collabora.com>
-
- Aug 25, 2020
-
-
Simon McVittie authored
Signed-off-by:
Simon McVittie <smcv@collabora.com>
-
Simon McVittie authored
Signed-off-by:
Simon McVittie <smcv@collabora.com>
-
Simon McVittie authored
Signed-off-by:
Simon McVittie <smcv@collabora.com>
-
Simon McVittie authored
When invoked to run a non-app non-game like steam-runtime-system-info, there is (correctly) no app ID. Signed-off-by:
Simon McVittie <smcv@collabora.com>
-
Simon McVittie authored
These are now all optional, and STEAM_COMPAT_MOUNT_PATHS is also included in the list. Signed-off-by:
Simon McVittie <smcv@collabora.com>
-
- Aug 19, 2020
-
-
Simon McVittie authored
We need this for Proton integration: a Proton game runs several setup commands, followed by the game itself. This prototype has some limitations: * An as-yet-unreleased version of Steam is required. * A systemd-style XDG_RUNTIME_DIR is required. We'll fall back to /tmp when this can be done without introducing a security flaw. * Old session directories in XDG_RUNTIME_DIR are not cleaned up. * There are a lot of processes, most of which should be unnecessary. * The environment handling is rather ad-hoc. Signed-off-by:
Simon McVittie <smcv@collabora.com>
-