- Oct 01, 2020
-
-
Ludovico de Nittis authored
If we want to pass all the possible variables that a user might have set in its environment, we need a mechanism to lock the variables that pressure-vessel is editing (e.g. LIBGL_DRIVERS_PATH), variables that we want to keep unset because will be wrong in the new container (e.g. FLATPAK_ID) and variables that should inherit their value from the host system (e.g. DISPLAY). Signed-off-by:
Ludovico de Nittis <ludovico.denittis@collabora.com>
-
- Sep 30, 2020
-
-
Simon McVittie authored
Various improvements to pressure-vessel See merge request steam/steam-runtime-tools!142
-
Simon McVittie authored
system-info: Always pass around a non-NULL environment block See merge request steam/steam-runtime-tools!137
-
Simon McVittie authored
Fix various gtk-doc warnings See merge request steam/steam-runtime-tools!141
-
Simon McVittie authored
libsrt: Explicitly control symbol visibility See merge request steam/steam-runtime-tools!140
-
Ludovico de Nittis authored
Instead of using `env -u VAR` to unset a variable now the variables can be passed using the DBUS interface. Signed-off-by:
Ludovico de Nittis <ludovico.denittis@collabora.com>
-
Ludovico de Nittis authored
If we use the `original_environ` for all the long-running childs, they'll not be affected even if later on we edit the environ with `g_setenv()`. Signed-off-by:
Ludovico de Nittis <ludovico.denittis@collabora.com>
-
Ludovico de Nittis authored
In the future this option might be used to leverage some of the 'pressure-vessel-launcher' features, like locking specific environment variables. Signed-off-by:
Ludovico de Nittis <ludovico.denittis@collabora.com>
-
- Sep 29, 2020
-
-
Simon McVittie authored
Signed-off-by:
Simon McVittie <smcv@collabora.com>
-
Simon McVittie authored
Instead of having symbols visible by default (which included compatibility symbols for older versions of GLib), hide them by default (equivalent to G_GNUC_INTERNAL) and export only what we need. This means we export the public API, plus symbols that are used by the unit tests or by the command-line diagnostic tools. Symbols used only by pressure-vessel do not need to be exported, since it links libsrt statically. Signed-off-by:
Simon McVittie <smcv@collabora.com>
-
Simon McVittie authored
Instead of calling getenv() if the environment is NULL, we determine what's in the environment on creating the SrtSystemInfo and then pass it around as a parameter. Signed-off-by:
Simon McVittie <smcv@collabora.com>
-
Simon McVittie authored
Move resolve-in-sysroot into the shared library See merge request steam/steam-runtime-tools!139
-
Simon McVittie authored
Minor fixes See merge request steam/steam-runtime-tools!138
-
Simon McVittie authored
Signed-off-by:
Simon McVittie <smcv@collabora.com>
-
Simon McVittie authored
This is a little more correct if the sysroot contains inconvenient symbolic links. There's a small behaviour change here: if the sysroot is Flatpak or pressure-vessel but does not actually contain /run/host, we don't return the path to where it ought to have been. 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
This simplifies various code paths. `/` is a perfectly good path to the system root. Signed-off-by:
Simon McVittie <smcv@collabora.com>
-
Simon McVittie authored
Otherwise we'll treat them as relative to `/` instead of the current working directory, which breaks some of the tests when we move to always using a non-NULL sysroot (that is sometimes `/`). Signed-off-by:
Simon McVittie <smcv@collabora.com>
-
Simon McVittie authored
While I'm there, add the ability to pass in a pre-opened file descriptor. 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
The GLib convention is that "out" parameters are untouched on error, and PV_RESOLVE_FLAGS_READABLE makes it an error for the file to be unreadable. 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>
-
- Sep 28, 2020
-
-
Simon McVittie authored
Start merging pressure-vessel utility code into s-r-t See merge request steam/steam-runtime-tools!136
-
Simon McVittie authored
This avoids duplicating it in the command-line tools. The test is still in tests/pressure-vessel/ for now, because it needs testutils.py, which uses its own location to find G_TEST_SRCDIR. Signed-off-by:
Simon McVittie <smcv@collabora.com>
-
- Sep 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
This changes the effective license of the library from MIT/X11 to LGPL. Signed-off-by:
Simon McVittie <smcv@collabora.com>
-
Simon McVittie authored
Signed-off-by:
Simon McVittie <smcv@collabora.com>
-
- Sep 24, 2020
-
-
Simon McVittie authored
Signed-off-by:
Simon McVittie <smcv@collabora.com>
-
- Sep 22, 2020
-
-
Simon McVittie authored
This is exported because it's used by the tests, but is not a public function. Signed-off-by:
Simon McVittie <smcv@collabora.com>
-
Simon McVittie authored
Signed-off-by:
Simon McVittie <smcv@collabora.com>
-
Simon McVittie authored
gcc 10 correctly diagnoses that if there are 0 bytes of arguments, we'll allocate no bytes, leaving no space for this (unnecessary) '\0'. Signed-off-by:
Simon McVittie <smcv@collabora.com>
-
Ludovico de Nittis authored
Signed-off-by:
Ludovico de Nittis <ludovico.denittis@collabora.com>
-
Ludovico de Nittis authored
Signed-off-by:
Ludovico de Nittis <ludovico.denittis@collabora.com>
-
- Sep 21, 2020
-
-
Simon McVittie authored
Signed-off-by:
Simon McVittie <smcv@collabora.com>
-