- Jan 23, 2024
-
-
Simon McVittie authored
Signed-off-by:
Simon McVittie <smcv@collabora.com>
-
Simon McVittie authored
steamwebhelper will use this to keep using the steam-runtime-sniper.* names. Helps: steamrt/tasks#375 Signed-off-by:
Simon McVittie <smcv@collabora.com>
-
Simon McVittie authored
steamwebhelper will use this to keep using the steam-runtime-sniper.tar.xz name. Helps: steamrt/tasks#375 Signed-off-by:
Simon McVittie <smcv@collabora.com>
-
Simon McVittie authored
This will make it easier to put locking around the unpacking step, avoiding the possibility of concurrent unpacking by more than one process, which would corrupt the runtime directory. Helps: steamrt/tasks#385 Signed-off-by:
Simon McVittie <smcv@collabora.com>
-
Simon McVittie authored
This avoids corrupting machine-readable output on stdout, if any. Helps: steamrt/tasks#385 Signed-off-by:
Simon McVittie <smcv@collabora.com>
-
- Jan 19, 2024
-
-
Simon McVittie authored
Beta 1705630720 changed the filename of the checksum used for the scout tarball, as part of distributing the scout tarball as a single file rather than multiple parts. steamrt/tasks#382 Signed-off-by:
Simon McVittie <smcv@collabora.com>
-
- Jan 12, 2024
-
-
Simon McVittie authored
This allows for standalone use of SLR from a small number of files including a compressed tarball, which is more convenient in some use-cases (although less disk-space-efficient than Steampipe). Usage: * put SteamLinuxRuntime_sniper.sh in a directory * put SteamLinuxRuntime_sniper.tar.xz in the same directory * put SteamLinuxRuntime_sniper.VERSIONS.txt in the same directory * run, e.g., /path/to/SteamLinuxRuntime_sniper.sh -- xterm @RUNTIME@ is replaced by a string identifying the specific SLR version we are working with, which in practice would be SteamLinuxRuntime_sniper. Future runtime versions should switch to using SteamLinuxRuntime_4 or similar. Instead of requiring a sidecar file with a MD5 checksum of the archive like we do for scout and heavy, we now rely on the archive itself having reasonable detection of accidental modification (a CRC or similar), and use VERSIONS.txt as the check for whether our unpacked directory is the version we wanted to be using. MD5 is no longer considered to be a cryptographically strong hash, so it would not be sufficient for detecting malicious modification in any case. As an additional integrity check, if run with the --validate option, the wrapper script will run pv-verify. This is not particularly fast (around 20 seconds on HDD with a cold cache, around 3 seconds with warm cache). As an optimization, if the script is run with for example /path/to/SteamLinuxRuntime_sniper.sh \ --try-runtime=/path/to/steamapps/common/SteamLinuxRuntime_sniper \ -- xterm then it will check whether the path passed to --try-runtime has the desired version number (there is no validation beyond a simple comparison of VERSIONS.txt). If yes, it will use that instead of unpacking a new copy, saving around 700M in the case of sniper. Compared with the prototype provided in steamrt/tasks#375, this one is somewhat more defensively-coded, with "|| true" on commands where we can tolerate failure (inspecting compressed files, running zenity) in an attempt to make it maximally robust. Helps: steamrt/tasks#375, steamrt/tasks#376 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
This makes the generated depot self-contained, without needing to rely on the depot being written to a directory named `depot` with a copy of `subprojects/container-runtime/steampipe` next to it. Signed-off-by:
Simon McVittie <smcv@collabora.com>
-
Simon McVittie authored
This was supported in Python 3.6, which is our minimum version, and we already used PEP-526 syntax in some places. The Python-3.5-compatible "# type: Type" comments result in "unused import" warnings with recent pyflakes versions, which are avoided by this change. 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>
-
- Dec 05, 2023
-
-
Simon McVittie authored
This saves around 100M for a software rendering driver that, in practice, we will never use: we look for the one on the host system instead. steamrt/tasks#364 Signed-off-by:
Simon McVittie <smcv@collabora.com>
-
- Nov 29, 2023
-
-
Simon McVittie authored
pv-wrap creates this lock file for compatibility with very old (pre-2021) versions of the Steam Linux Runtime, which took this lock before unpacking scout or soldier from a tarball, because at the time the Steampipe CDN did not cope well with a large number of small files. Fixes: 0f89e027 "populate-depot: Write a top-level mtree" Signed-off-by:
Simon McVittie <smcv@collabora.com>
-
- Nov 17, 2023
-
-
Simon McVittie authored
Signed-off-by:
Simon McVittie <smcv@collabora.com>
-
Simon McVittie authored
This provides a convenient way to check whether the depot has the contents we believe it should. Signed-off-by:
Simon McVittie <smcv@collabora.com>
-
Simon McVittie authored
This matches the output of bsdtar (libarchive), for example: bsdtar -cf- --format=mtree -C ~/tmp . and NetBSD mtree(8) (the mtree-netbsd package in Debian), for example: mtree -c -p ~/tmp | mtree -C Signed-off-by:
Simon McVittie <smcv@collabora.com>
-
- Sep 11, 2023
-
-
Simon McVittie authored
Signed-off-by:
Simon McVittie <smcv@collabora.com>
-
Simon McVittie authored
App 1070560: was SLR, now SLR 1.0 (scout) App 1391110: was SLR - soldier, now SLR 2.0 (soldier) App 1628350: was SLR - sniper, now SLR 3.0 (sniper) The more generic name "Steam Linux Runtime" now refers to the whole container runtime ecosystem. Signed-off-by:
Simon McVittie <smcv@collabora.com>
-
- Aug 31, 2023
-
-
Simon McVittie authored
This allows doing: meson setup _build meson test -C _build without an intervening `meson compile` step. Previously, this would have failed because the tests require various helpers and fixtures, while some of the code under test also requires helper programs, and some of the code under test *is* a CLI program. For a project this small, there's no real need to distinguish precisely which programs are needed by which test: we can just assume that all tests need all programs, like Autotools would. Includes: https://gitlab.gnome.org/GNOME/libglnx/-/merge_requests/51 Signed-off-by:
Simon McVittie <smcv@collabora.com>
-
- Aug 01, 2023
-
-
Simon McVittie authored
Signed-off-by:
Simon McVittie <smcv@collabora.com>
-
Simon McVittie authored
Signed-off-by:
Simon McVittie <smcv@collabora.com>
-
- May 31, 2023
-
-
Simon McVittie authored
This has been true since mid 2022. Signed-off-by:
Simon McVittie <smcv@collabora.com>
-
Simon McVittie authored
This has been true since mid 2021. Signed-off-by:
Simon McVittie <smcv@collabora.com>
-
- Apr 04, 2023
-
-
Simon McVittie authored
Signed-off-by:
Simon McVittie <smcv@collabora.com>
-
- Apr 03, 2023
-
-
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>
-
- Mar 24, 2023
-
-
Simon McVittie authored
This has been superseded by steam-runtime-launch-options. Signed-off-by:
Simon McVittie <smcv@collabora.com>
-
- Mar 06, 2023
-
-
Simon McVittie authored
This was integrated into debian/gitlab-ci.yml in commit 7ce7ba8f "CI: Run the old SteamLinuxRuntime CI tests in the subproject" (!532). Helps: steamrt/tasks#248 Signed-off-by:
Simon McVittie <smcv@collabora.com>
-
- Jan 31, 2023
-
-
Simon McVittie authored
Debian's site.py has started using modern Python features and can no longer be imported successfully by Python 3.5, making it inconvenient to keep an old copy of python3.5 installed to run these tests unless we explicitly skip import of the site module. Signed-off-by:
Simon McVittie <smcv@collabora.com>
-
Simon McVittie authored
We want to use this script with a local build in CI, to integrate it with the actual runtime build (for soldier/sniper) or the steam-runtime-tools build (for scout). Signed-off-by:
Simon McVittie <smcv@collabora.com>
-
Simon McVittie authored
In CI builds, we often know better than `git describe` does. Change the precedence so a new --scripts-version is highest priority, then a .tarball-version file, and finally a version guessed from `git describe`. Signed-off-by:
Simon McVittie <smcv@collabora.com>
-
- Jan 24, 2023
-
-
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
This makes these scripts a better template to drop into other projects. 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>
-