- Oct 28, 2022
-
-
Simon McVittie authored
This will make it easier to compare log files from different runs. Signed-off-by:
Simon McVittie <smcv@collabora.com>
-
Simon McVittie authored
We discover input devices that were already plugged in during initialization in an arbitrary order, but for better reproducibility, we might as well sort them "naturally" (hidraw0 < hidraw2 < hidraw10). GNU versionsort() provides the desired order. Signed-off-by:
Simon McVittie <smcv@collabora.com>
-
Simon McVittie authored
Signed-off-by:
Simon McVittie <smcv@collabora.com>
-
Simon McVittie authored
We expect that the number of files and directories directly below /usr or in the root filesystem is small, so they are sorted unconditionally. 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 it a little easier to compare log files. Signed-off-by:
Simon McVittie <smcv@collabora.com>
-
Simon McVittie authored
This makes it a little easier to compare log files. Signed-off-by:
Simon McVittie <smcv@collabora.com>
-
Simon McVittie authored
If we don't have any better way to choose an implementation, using lexicographic order makes it a little easier to compare log files. Signed-off-by:
Simon McVittie <smcv@collabora.com>
-
Simon McVittie authored
This makes it easier to diff two log files. 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>
-
- Oct 27, 2022
-
-
Ludovico de Nittis authored
Don't rely on GHashTable order remaining consistent See merge request !509
-
Ludovico de Nittis authored
pv-exports: Treat /run/gfx the same as /run/host See merge request !508
-
Simon McVittie authored
pv-wrap: Use correct bwrap exports while using an interpreter See merge request !507
-
Simon McVittie authored
Previously, we used hash table order, which is in principle non-deterministic (although GLib's string hash function hasn't changed for a long time, so our tests were in fact accidentally relying on a consistent hash table order). Signed-off-by:
Simon McVittie <smcv@collabora.com>
-
Simon McVittie authored
Signed-off-by:
Simon McVittie <smcv@collabora.com>
-
Simon McVittie authored
This will be helpful if we want to make log files or other output more easily comparable when there are items that appear in arbitrary order. Helps: steamrt/tasks#187 Signed-off-by:
Simon McVittie <smcv@collabora.com>
-
Simon McVittie authored
If the /overrides hierarchy contains a symlink to /run/gfx/something, we expect it to point into the /run/gfx that we already plan to create, so there is no need to tell FlatpakExports to look for /run/gfx/something on the host system. We already had similar logic for /run/host. Signed-off-by:
Simon McVittie <smcv@collabora.com>
-
- Oct 25, 2022
-
-
Ludovico de Nittis authored
When running under FEX-Emu on aarch64, because pv-wrap is an x86 process, the Flatpak code that deals with X11, D-Bus etc. implicitly searches in both the FEX-Emu rootfs and the real root filesystem (in that order) due to FEX-Emu's overlayfs-like behaviour. But because bwrap's mount(2) doesn't do an automatic remap of the paths, a workaround was manually implemented. Every time a file/directory was available in the interpreter root, we adjusted the bind to use the FEX-Emu's rootfs. However this was not enough because, in the case where a path existed in both the real host and the interpreter, we would have mounted only the version from the interpreter. In order to correctly handle all use cases we do the following: - Path that only exists in the real host: keep it as is - Path that only exists in the FEX rootfs: change the destination to prefix the $PV_RUNTIME_PATH_INTERPRETER_ROOT. This will avoid exposing a path that would not have been existed outside the container - Path that is both in the FEX rootfs and the real host: duplicate it, keeping one copy as is and editing the other to point the source to the FEX rootfs and the destination to the $PV_RUNTIME_PATH_INTERPRETER_ROOT Signed-off-by:
Ludovico de Nittis <ludovico.denittis@collabora.com>
-
- Oct 24, 2022
-
-
Ludovico de Nittis authored
Instead of adjusting the files and directories export in place, we append them to a separate FlatpakBwrap. In a following commit this change will help us to perform additional adjustments that would not have been possible to do in place. Signed-off-by:
Ludovico de Nittis <ludovico.denittis@collabora.com>
-
- Oct 14, 2022
-
-
Simon McVittie authored
Signed-off-by:
Simon McVittie <smcv@collabora.com>
-
- Oct 11, 2022
-
-
Simon McVittie authored
Signed-off-by:
Simon McVittie <smcv@collabora.com>
-
Simon McVittie authored
Update libglnx See merge request !504
-
Simon McVittie authored
Signed-off-by:
Simon McVittie <smcv@collabora.com>
-
Simon McVittie authored
-
- Oct 10, 2022
-
-
Simon McVittie authored
backport-testutils: Add g_assert_true(), g_assert_false() See merge request GNOME/libglnx!44
-
Will Thompson authored
tests: Ensure saveptr is NULL before first call to strtok_r() See merge request GNOME/libglnx!45
-
Simon McVittie authored
The standards-conformant behaviour is that the contents of saveptr are ignored when the first argument is non-NULL, but the man page notes that some older implementations required saveptr to be NULL in that situation, and the gcc 4.8 provided by the Steam Runtime warns about this. Signed-off-by:
Simon McVittie <smcv@collabora.com>
-
Simon McVittie authored
These were only added in 2.38, and some projects with particularly ancient dependencies (like the Steam Runtime, based on a 2012 version of Ubuntu) still avoid depending on that version. 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
libglnx now provides better versions of these. Signed-off-by:
Simon McVittie <smcv@collabora.com>
-
Simon McVittie authored
These were in GLib 2.16, which is considerably older than the oldest version we support. Signed-off-by:
Simon McVittie <smcv@collabora.com>
-
Simon McVittie authored
-
Will Thompson authored
build: Explicitly disable warnings for non-ISO C features See merge request GNOME/libglnx!42
-
Simon McVittie authored
backports: Backport new NONE/DEFAULT constants from GLib 2.74 See merge request GNOME/libglnx!39
-
Simon McVittie authored
backports: Use #ifndef instead of GLIB_CHECK_VERSION See merge request GNOME/libglnx!43
-
Simon McVittie authored
These enums were not originally defined with a zero-valued constant (or in the case of GApplicationFlags, the constant always existed but its name was inappropriate for GObject-Introspection), and the corresponding constants were added in GLib 2.74 to make them more self-documenting. Signed-off-by:
Simon McVittie <smcv@collabora.com>
-