Commits on Source (7)
-
Simon McVittie authored
This function was originally written for pressure-vessel and subsequently added to Flatpak. If we use Flatpak's version, we can stay closer to being in sync with Flatpak's flatpak-utils.c. Signed-off-by:
Simon McVittie <smcv@collabora.com>
-
Simon McVittie authored
At this point, current_path is everything up to but not including fd. For example, if we are traversing "x/y/z/w" with current_path = "x/y", then the fds array contains { x, y } and fd is the result of opening z. We're looking at the result of calling fstatat() on z, so we need to see "x/y/z" in the error messages, for example if z is a regular file (therefore "x/y/z/w" cannot possibly exist). Signed-off-by:
Simon McVittie <smcv@collabora.com>
-
Simon McVittie authored
Previously, this would have incorrectly returned success with the error set, breaking the usual GError invariants. Signed-off-by:
Simon McVittie <smcv@collabora.com>
-
Simon McVittie authored
"foo/bar/" is meant to be exactly equivalent to "foo/bar/.", and almost equivalent to "foo/bar" (with the important difference that it fails if bar is a non-directory). Signed-off-by:
Simon McVittie <smcv@collabora.com>
-
Simon McVittie authored
When pressure-vessel operates in --copy-runtime mode, /overrides is a symlink to /usr/lib/pressure-vessel/overrides. "find /overrides -ls" is useless here: it just lists the symlink, rather than traversing the directory hierarchy. Signed-off-by:
Simon McVittie <smcv@collabora.com>
-
Ludovico de Nittis authored
pressure-vessel: Sync flatpak_envp_cmp() from Flatpak 1.11.1 See merge request !312
-
Ludovico de Nittis authored
Fix listing overrides in system-info with recent pressure-vessel See merge request !313
Showing
- pressure-vessel/flatpak-bwrap-private.h 1 addition, 0 deletionspressure-vessel/flatpak-bwrap-private.h
- pressure-vessel/flatpak-bwrap.c 15 additions, 0 deletionspressure-vessel/flatpak-bwrap.c
- pressure-vessel/flatpak-utils-private.h 3 additions, 0 deletionspressure-vessel/flatpak-utils-private.h
- pressure-vessel/flatpak-utils.c 69 additions, 1 deletionpressure-vessel/flatpak-utils.c
- pressure-vessel/utils.c 0 additions, 69 deletionspressure-vessel/utils.c
- pressure-vessel/utils.h 0 additions, 3 deletionspressure-vessel/utils.h
- pressure-vessel/wrap.c 2 additions, 4 deletionspressure-vessel/wrap.c
- steam-runtime-tools/resolve-in-sysroot.c 5 additions, 4 deletionssteam-runtime-tools/resolve-in-sysroot.c
- steam-runtime-tools/system-info.c 2 additions, 2 deletionssteam-runtime-tools/system-info.c
- tests/pressure-vessel/resolve-in-sysroot.c 13 additions, 2 deletionstests/pressure-vessel/resolve-in-sysroot.c
- tests/pressure-vessel/utils.c 6 additions, 5 deletionstests/pressure-vessel/utils.c