- Dec 08, 2022
-
-
Simon McVittie authored
Signed-off-by:
Simon McVittie <smcv@collabora.com>
-
- Dec 07, 2022
-
-
Simon McVittie authored
This cleans up some unnecessary complexity now that we are no longer installing this script into /usr. Signed-off-by:
Simon McVittie <smcv@collabora.com>
-
Simon McVittie authored
This makes the .deb considerably smaller, around 350K rather than 1.3M. If we want the source code, we can build the .dsc like any other dpkg package. The copy of the source code in /usr used to be useful when we constructed a relocatable pressure-vessel installation by installing it into the Steam Runtime 'scout' SDK and then repacking it from there, but that was rather slow, so our release pipeline is now a lot more direct than that. Signed-off-by:
Simon McVittie <smcv@collabora.com>
-
Simon McVittie authored
Signed-off-by:
Simon McVittie <smcv@collabora.com>
-
Simon McVittie authored
This avoids needing to install a wrapper that has been edited to know its own version number, source directory and so on. Signed-off-by:
Simon McVittie <smcv@collabora.com>
-
Simon McVittie authored
We won't necessarily have pressure-vessel-relocatable installed when acting on a just-built version. Signed-off-by:
Simon McVittie <smcv@collabora.com>
-
Simon McVittie authored
This removes a dependency on having configured and unpacked source code available. Signed-off-by:
Simon McVittie <smcv@collabora.com>
-
Simon McVittie authored
Having fewer code paths is a good way to make things more robust, and now that we can prepopulate the cache with the just-built .dsc, we should always be able to do this. Signed-off-by:
Simon McVittie <smcv@collabora.com>
-
Simon McVittie authored
This ensures that we won't try to download it using apt (which will fail, because we only just now built it). Signed-off-by:
Simon McVittie <smcv@collabora.com>
-
Simon McVittie authored
This speeds up repeated invocations of `build-aux/many-builds.py install`, and is particularly good for an interactive change/test/debug/fix loop. Signed-off-by:
Simon McVittie <smcv@collabora.com>
-
Simon McVittie authored
Check for a version we already downloaded before re-downloading. This avoids having to re-download it every time. Signed-off-by:
Simon McVittie <smcv@collabora.com>
-
Simon McVittie authored
We can start by getting lint warnings for it in the main report. Signed-off-by:
Simon McVittie <smcv@collabora.com>
-
Simon McVittie authored
Signed-off-by:
Simon McVittie <smcv@collabora.com>
-
Simon McVittie authored
wrap-setup: Pass through Gamescope's special Wayland display See merge request !527
-
- Dec 05, 2022
-
-
Simon McVittie authored
steamrt/tasks#212 Signed-off-by:
Simon McVittie <smcv@collabora.com>
-
- Dec 02, 2022
-
-
Simon McVittie authored
The steam-ci-pipeline module is used for generic .deb packages in the Steam Runtime, but the steam-runtime-tools build process is sufficiently full of special cases that it actually seems simpler to give it completely independent CI. 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
Signed-off-by:
Simon McVittie <smcv@collabora.com>
-
Simon McVittie authored
git-subtree-dir: subprojects/container-runtime git-subtree-mainline: e8de4b15 git-subtree-split: cc4e44f0
-
- Nov 30, 2022
-
-
Simon McVittie authored
Signed-off-by:
Simon McVittie <smcv@collabora.com>
-
Simon McVittie authored
Signed-off-by:
Simon McVittie <smcv@collabora.com>
-
- Nov 28, 2022
-
-
Ludovico de Nittis authored
pv-runtime: Log more details about how we change the mutable sysroot See merge request !526
-
Ludovico de Nittis authored
pv-runtime: Optionally log /overrides or full container contents See merge request !506
-
- Nov 24, 2022
-
-
Simon McVittie authored
Logging the contents of `/overrides` enlarges the log by around 10% (on a Debian 12 system) which we could consider doing by default, but for now I've made it an opt-in. Logging the entire contents of the container to be used is more like a 300% increase, so it certainly needs to be an opt-in that we ask for if it is genuinely going to be useful. Helps: steamrt/tasks#187, #97 Signed-off-by:
Simon McVittie <smcv@collabora.com>
-
Simon McVittie authored
Helps: steamrt/tasks#187, #97 Signed-off-by:
Simon McVittie <smcv@collabora.com>
-
Simon McVittie authored
Signed-off-by:
Simon McVittie <smcv@collabora.com>
-
Simon McVittie authored
Update Flatpak-derived code from Flatpak 1.14.1 See merge request !524
-
Simon McVittie authored
Prepare to update Flatpak-derived code See merge request !523
-
Simon McVittie authored
The majority of the changes are in code that is `#if 0` because it isn't needed in pressure-vessel. Changes that are not `#if 0` or trivial: * don't bind-mount `/efi` into containers, same as `/boot` * slightly better debug if a mkdir() fails in flatpak_context_export() * instead of deleting code that Flatpak needs but we don't, `#if 0` it, to make future merges simpler * use a better XML DOCTYPE for `fonts.conf` Signed-off-by:
Simon McVittie <smcv@collabora.com>
-
Simon McVittie authored
Flatpak 1.14.x assumes a version of bubblewrap that supports the --perms option. If our Flatpak-derived code produces an arguments list that includes that option, filter it out if we're using a system copy of bubblewrap that doesn't support it: it's non-essential. As of 1.12.7 (last time we updated our copy) and 1.14.1 (current stable release), none of the code paths we actually take from Flatpak make use of --perms, but they legitimately could. A manual test for whether this is working correctly: - Insert `"--perms", "0700"` before `"--tmpfs", "/tmp/.X11-unix"` in flatpak_run_add_x11_args() - Run the test suite with `build-aux/many-builds.py test` (for simplicity, do this on a system where the bundled bubblewrap can be used). Expected result: the log for containers.py indicates that the final bwrap command has `--perms 0700 --tmpfs /tmp/.X11-unix`. - Edit the check in test_bwrap_executable() so detection fails, by replacing `"--perms"` with `"--UNSUPPORTED-perms"`. - Run the test suite again. Expected result: we log `Ignoring "--perms 0700" because bwrap is too old` and later, the log indicates that the final bwrap command only has `--tmpfs /tmp/.X11-unix`. Signed-off-by:
Simon McVittie <smcv@collabora.com>
-
Simon McVittie authored
With this version, we no longer define FlatpakHostCommandFlags in launch-client (and in fact it would be an error). Signed-off-by:
Simon McVittie <smcv@collabora.com>
-
- Nov 21, 2022
-
-
Simon McVittie authored
Reviewed-by: Ludovico de Nittis Merge-request: !518 Signed-off-by:
Simon McVittie <smcv@collabora.com>
-
Simon McVittie authored
Fixes: 516b106c "log: Add Journal integration to GLib log handler" Signed-off-by:
Simon McVittie <smcv@collabora.com>
-
Simon McVittie authored
Further logging improvements See merge request !521
-
Simon McVittie authored
Adding annotations to these functions means mypy will attempt to analyze them. It doesn't have particularly good information for PyGI code, but something is better than nothing. Signed-off-by:
Simon McVittie <smcv@collabora.com>
-
- Nov 17, 2022
-
-
Simon McVittie authored
This redirects output produced by pv-wrap, but puts back the original stdout/stderr for the wrapped program (typically the actual game). Signed-off-by:
Simon McVittie <smcv@collabora.com>
-
Simon McVittie authored
This redirects output produced by pv-adverb, but puts back the original stdout/stderr for the wrapped program (typically the actual game). Signed-off-by:
Simon McVittie <smcv@collabora.com>
-
Simon McVittie authored
Signed-off-by:
Simon McVittie <smcv@collabora.com>
-
Simon McVittie authored
This has three main functions: - If stdout and/or stderr are /dev/null, send warnings to the systemd Journal so they don't get lost, along with debug messages if enabled. - If the user requests it, redirect stdout and/or stderr to the systemd Journal so that everything will be logged in one place. - If stdout and/or stderr is already a Journal file descriptor inherited from a parent process, reopen it with our own details, and send our log messages with a bit more metadata. This obsoletes _srt_util_set_up_logging(), which did the first two of those. This is a per-application opt-in, because each application that will make use of this needs to be aware that it might redirect stdout and stderr. Signed-off-by:
Simon McVittie <smcv@collabora.com>
-