- Sep 09, 2020
-
-
Simon McVittie authored
This avoids them colliding with steam-runtime-tools' tests. Signed-off-by:
Simon McVittie <smcv@collabora.com>
-
Simon McVittie authored
Signed-off-by:
Simon McVittie <smcv@collabora.com>
-
Simon McVittie authored
This is preparation for combining pressure-vessel with steam-runtime-tools. Signed-off-by:
Simon McVittie <smcv@collabora.com>
-
- Sep 08, 2020
-
-
Simon McVittie authored
gitlab-ci: Run tests/containers.py in CI See merge request steam/pressure-vessel!76
-
Ludovico de Nittis authored
Running the automated tests "tests/containers.py` in CI allows us to reduce the probability of causing regressions with future commits. Signed-off-by:
Ludovico de Nittis <ludovico.denittis@collabora.com>
-
Simon McVittie authored
runtime: Load basic NSS plugins along with host system glibc See merge request steam/pressure-vessel!80
-
Simon McVittie authored
Set STEAM_RUNTIME=/ when running in a scout container Closes #8 See merge request steam/pressure-vessel!81
-
Simon McVittie authored
This should go some way towards resolving failures to run games ported by Feral Interactive, which explicitly check that they have been run by Steam. See <https://github.com/ValveSoftware/steam-runtime/issues/202> and <https://github.com/ValveSoftware/steam-runtime/issues/249 >. Resolves: pressure-vessel#8 Signed-off-by:
Simon McVittie <smcv@collabora.com>
-
Simon McVittie authored
Signed-off-by:
Simon McVittie <smcv@collabora.com>
-
Simon McVittie authored
glnx_file_copy_at() preserves atime and mtime, but makes no guarantee about ctime. In practice this test usually passed anyway, because after the first file is created, the copy is usually created within the same second, but this is not guaranteed: if we create the first file just before a clock tick and copy it just after, the test will fail. Signed-off-by:
Simon McVittie <smcv@collabora.com>
-
Simon McVittie authored
The basic Name Service Switch plugins that ship with glibc are entitled to assume that they are used alongside a corresponding glibc, and can use private symbols from it. This is not a complete set, only the ones required by the nsswitch.conf that we ship in practice. We can expand coverage later if desired. For a practical example of this, use soldier (glibc 2.28) on Arch Linux (glibc 2.32), and run `LD_DEBUG=files id`. soldier's libnss_files.so.2 fails to load with an undefined reference to __libc_readline_unlocked. This might also resolve various previously-reported bugs with DNS not working in the scout container: * https://github.com/ValveSoftware/steam-runtime/issues/226 (scout on Debian 10) * https://github.com/ValveSoftware/steam-runtime/issues/264, https://github.com/ValveSoftware/steam-runtime/issues/258, https://github.com/ValveSoftware/steam-runtime/issues/192 (scout on Fedora 31) * https://github.com/ValveSoftware/steam-runtime/issues/262 (scout on Arch Linux) * https://github.com/ValveSoftware/steam-runtime/issues/227 (scout on unspecified distribution) Signed-off-by:
Simon McVittie <smcv@collabora.com>
-
Simon McVittie authored
Signed-off-by:
Simon McVittie <smcv@collabora.com>
-
Simon McVittie authored
This lets regression tests inspect them. Signed-off-by:
Simon McVittie <smcv@collabora.com>
-
Simon McVittie authored
bwrap(1) holds stdin, stdout and stderr open, so we need to do this on a different fd. Resolves: pressure-vessel#6 Signed-off-by:
Simon McVittie <smcv@collabora.com>
-
Simon McVittie authored
This is similar to how we deal with stdout, but for fds that have been passed through, other than stdin (0), stdout (1) and stderr (2). Part of pressure-vessel#6. Signed-off-by:
Simon McVittie <smcv@collabora.com>
-
Simon McVittie authored
Part of pressure-vessel#6. Signed-off-by:
Simon McVittie <smcv@collabora.com>
-
Simon McVittie authored
This takes over responsibility from the shell scripts that currently wrap this executable. When combined with a Steam update, this should resolve a lot of issues involving paths outside the current working directory. Resolves: pressure-vessel#4 Resolves: pressure-vessel#11 Resolves: pressure-vessel#12 Resolves: https://github.com/ValveSoftware/steam-runtime/issues/217 Resolves: https://github.com/ValveSoftware/steam-runtime/issues/236 Resolves: https://github.com/ValveSoftware/steam-runtime/issues/257 Signed-off-by:
Simon McVittie <smcv@collabora.com>
- Sep 07, 2020
-
-
Simon McVittie authored
Recent versions of Steam set this when running setup commands in the context of a particular app, so that the setup commands can find their home directory if unsharing $HOME. Signed-off-by:
Simon McVittie <smcv@collabora.com>
-
Simon McVittie authored
SteamHTMLSurface and SteamVR use this as a rendezvous directory for IPC. A future version of pressure-vessel should have a more strict mode that shares less with the host. Resolves: pressure-vessel#10 Signed-off-by:
Simon McVittie <smcv@collabora.com>
-
Simon McVittie authored
wrap, adverb: Move "wrap with xterm" code into the adverb See merge request steam/pressure-vessel!78
-
Simon McVittie authored
Looking at environment variables is still part of pv-wrap, but the command-line part now happens in pv-adverb. This means the launching scripts for the "session" mode, which use pv-launch to run the main game command in a previously-set-up pv-launcher environment, can direct pv-adverb to run an interactive shell instead of or in addition to the actual game. Signed-off-by:
Simon McVittie <smcv@collabora.com>
-
Simon McVittie authored
It isn't always obvious which adverb we're using. Signed-off-by:
Simon McVittie <smcv@collabora.com>
-
Simon McVittie authored
Signed-off-by:
Simon McVittie <smcv@collabora.com>
-
Simon McVittie authored
Use FlatpakExports to improve robustness of bind-mounts Closes #2 and #18 See merge request steam/pressure-vessel!75
-
Simon McVittie authored
This gives us access to the same tricks that Flatpak uses to get host paths into the container in a more robust way: in particular, it sorts paths to put parent before child, and exports symbolic links as symbolic links plus a separate mount point for the target (which we previously did for the subdirectories of ~/.steam, but nowhere else). Resolves: pressure-vessel#2 Resolves: pressure-vessel#18 Signed-off-by:
Simon McVittie <smcv@collabora.com>
-
Simon McVittie authored
This adds a mechanism to redirect from the host to a sysroot, intended for unit testing, which we can (ab)use to redirect from the host to /run/host. Signed-off-by:
Simon McVittie <smcv@collabora.com>
-
- Sep 04, 2020
-
-
Simon McVittie authored
This lets us create /run/host and /run/pressure-vessel unconditionally, even if we're mostly using the host filesystem rather than a runtime. Signed-off-by:
Simon McVittie <smcv@collabora.com>
-
Simon McVittie authored
Now that we export each subdirectory of the root separately, there's nothing to stop us from using the same function in the runtime and no-runtime cases. Signed-off-by:
Simon McVittie <smcv@collabora.com>
-
Simon McVittie authored
This lets us separate them between those that will be processed as if via Flatpak --filesystem=host, and those that are dealt with individually. Signed-off-by:
Simon McVittie <smcv@collabora.com>
-
Simon McVittie authored
A lot of the code added here is #if 0. Normally we don't commit commented-out or #ifdef'd out code, but in this case it helps tools like gvimdiff to have enough context to figure out which parts of the file in Flatpak correspond to which parts of the file in pressure-vessel. Signed-off-by:
Simon McVittie <smcv@collabora.com>
-
Simon McVittie authored
We want these to come after every other bind-mount. Signed-off-by:
Simon McVittie <smcv@collabora.com>
-
Simon McVittie authored
If we're given a relative path, make it absolute before transforming it for the host. Signed-off-by:
Simon McVittie <smcv@collabora.com>
-
Simon McVittie authored
A reasonably common case is that the value on the host and in the container will be the same. Signed-off-by:
Simon McVittie <smcv@collabora.com>
-
Simon McVittie authored
When we have more than one layer of adverbs, this provides a way to tell which one we are. Signed-off-by:
Simon McVittie <smcv@collabora.com>
-
Simon McVittie authored
Signed-off-by:
Simon McVittie <smcv@collabora.com>
-
Simon McVittie authored
This makes it a little clearer when we're exiting. Signed-off-by:
Simon McVittie <smcv@collabora.com>
-
- Sep 03, 2020
-
-
Simon McVittie authored
runtime: Look for DRI and s2tc libraries in the right prefix See merge request steam/pressure-vessel!77
-
Simon McVittie authored
Signed-off-by:
Simon McVittie <smcv@collabora.com>
-