- Jan 31, 2023
-
-
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>
-
Simon McVittie authored
This avoids warnings from newer versions of Meson. Signed-off-by:
Simon McVittie <smcv@collabora.com>
-
Simon McVittie authored
Signed-off-by:
Simon McVittie <smcv@collabora.com>
-
- Jan 10, 2023
-
-
Simon McVittie authored
Because this script runs inside the SteamLinuxRuntime_soldier container, we don't need to worry about whether /bin/bash exists or makes sense: we know that it should be the bash from Debian 10, which is what this script was written to target. Use it by its absolute path instead of doing a PATH search, to add a bit more predictability. Signed-off-by:
Simon McVittie <smcv@collabora.com>
-
Simon McVittie authored
These scripts don't use any fancy features from bash, so we can use /bin/sh, which is either bash or something faster (like the dash shell used in Debian and Ubuntu). Signed-off-by:
Simon McVittie <smcv@collabora.com>
-
Simon McVittie authored
We are no longer supporting any pressure-vessel releases that didn't. Signed-off-by:
Simon McVittie <smcv@collabora.com>
-
Simon McVittie authored
Signed-off-by:
Simon McVittie <smcv@collabora.com>
-
Simon McVittie authored
bash is not completely portable, so we have to stick to POSIX /bin/sh, which only has one array, "$@". Signed-off-by:
Simon McVittie <smcv@collabora.com>
-
Simon McVittie authored
This is a prerequisite for converting this script to /bin/sh, because this sort of argument vector manipulation would be difficult to do while preserving relative order without access to more than one array. Signed-off-by:
Simon McVittie <smcv@collabora.com>
-
- Dec 15, 2022
-
-
Simon McVittie authored
Signed-off-by:
Simon McVittie <smcv@collabora.com>
-
Simon McVittie authored
If we're using a local or pre-downloaded pressure-vessel-bin.tar.gz, there's no point in trying to download the scout LD_LIBRARY_PATH runtime (for automated testing) from a suite named "local" that doesn't exist. Signed-off-by:
Simon McVittie <smcv@collabora.com>
-
- Dec 14, 2022
-
-
Simon McVittie authored
This allows populate-depot.py to learn its own version number when used by unpacking a steam-runtime-tools source tarball, rather than from git, and write that into VERSIONS.txt as the "scripts" component. Now that we've combined SteamLinuxRuntime and s-r-t into one repository, the "scripts" component is somewhat redundant for the soldier and sniper runtimes (since it will always match up with pressure-vessel), but it's still interesting for the scout-on-soldier runtime (which does not contain its own copy of pressure-vessel). Signed-off-by:
Simon McVittie <smcv@collabora.com>
-
- Sep 10, 2021
-
-
Simon McVittie authored
python-vdf is now available in most of our CI images, so we don't need it here. For test:bionic and test:archlinux, clone a known-good copy from git and use that. Signed-off-by:
Simon McVittie <smcv@collabora.com>
-
- Aug 31, 2021
-
-
Simon McVittie authored
When compiled with -Wwrite-strings as part of a larger project, gcc and clang both warn that we're assigning a string constant to a mutable struct member. There's actually no reason why it should be mutable, so make it const. Signed-off-by:
Simon McVittie <smcv@collabora.com> Forwarded: https://github.com/containers/bubblewrap/pull/446
-
Simon McVittie authored
When building with -Wjump-misses-init as part of a larger project, gcc reports that we jump past initialization of cover_proc_dirs. This is technically true, but we only use this variable in the case where it's initialized, so that's harmless. However, we can avoid this altogether by making the array static and constant, which allows it to be moved from initialized data to read-only data. Signed-off-by:
Simon McVittie <smcv@collabora.com> Forwarded: https://github.com/containers/bubblewrap/pull/447
-
Simon McVittie authored
Signed-off-by:
Simon McVittie <smcv@collabora.com>
-
- Jul 05, 2021
-
-
Simon McVittie authored
Signed-off-by:
Simon McVittie <smcv@collabora.com>
-
- Apr 22, 2021
-
-
Simon McVittie authored
This is useful in the same situations rewinddir() is. My use-case right now is to remove some of the files from a directory, then go back through the directory removing symlinks that pointed to those files. Signed-off-by:
Simon McVittie <smcv@collabora.com> Forwarded: https://gitlab.gnome.org/GNOME/libglnx/-/merge_requests/25
-
- Sep 14, 2020
-
-
Simon McVittie authored
Signed-off-by:
Simon McVittie <smcv@collabora.com>
-
- Nov 12, 2019
-
-
Simon McVittie authored
This accidentally requires GLib 2.36. This reverts commit a652ede2. Signed-off-by:
Simon McVittie <smcv@collabora.com>
-
- Sep 26, 2019
-
-
Simon McVittie authored
When doing the development build on a non-SteamRT OS (Debian buster), this means we need to take steam-runtime-tools from git. Signed-off-by:
Simon McVittie <smcv@collabora.com>
-
- Jul 24, 2019
-
-
Simon McVittie authored
Signed-off-by:
Simon McVittie <smcv@collabora.com>
-
- May 10, 2019
-
-
Simon McVittie authored
This matches what Autotools would do, and what our header is expecting. It silences -Wundef. Signed-off-by:
Simon McVittie <smcv@collabora.com>
-
- May 03, 2019
-
-
Simon McVittie authored
Signed-off-by:
Simon McVittie <smcv@collabora.com> Forwarded: https://gitlab.gnome.org/GNOME/libglnx/merge_requests/8
-
Simon McVittie authored
The temporary directory will be deleted on success, but will remain intact on failure. Signed-off-by:
Simon McVittie <smcv@collabora.com> Forwarded: https://gitlab.gnome.org/GNOME/libglnx/merge_requests/8
-
Simon McVittie authored
Signed-off-by:
Simon McVittie <smcv@collabora.com> Forwarded: https://gitlab.gnome.org/GNOME/libglnx/merge_requests/7
-
Simon McVittie authored
Signed-off-by:
Simon McVittie <smcv@collabora.com> Forwarded: https://gitlab.gnome.org/GNOME/libglnx/merge_requests/7
-
Simon McVittie authored
If you're building on a really old GLib, you might not have GTask, GSubprocess or g_markup_parse_context_unref(). Signed-off-by:
Simon McVittie <smcv@collabora.com> Forwarded: https://gitlab.gnome.org/GNOME/libglnx/merge_requests/7
-
Simon McVittie authored
This doesn't exist on some very old platforms. In the original file in systemd, it was here for char32_t and char16_t, which we don't use. Signed-off-by:
Simon McVittie <smcv@collabora.com> Forwarded: https://gitlab.gnome.org/GNOME/libglnx/merge_requests/6
-
- May 02, 2019
-
-
Simon McVittie authored
-