Skip to content
Snippets Groups Projects
Commit 39ff3139 authored by Simon McVittie's avatar Simon McVittie
Browse files

system-info: List /overrides/ correctly in recent SteamLinuxRuntime


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: default avatarSimon McVittie <smcv@collabora.com>
parent 978b5faa
No related branches found
No related tags found
1 merge request!313Fix listing overrides in system-info with recent pressure-vessel
Pipeline #12907 passed
......@@ -1231,8 +1231,8 @@ ensure_overrides_cached (SrtSystemInfo *self)
if (!self->overrides.have_data)
{
static const char * const paths[] = {
"overrides",
"usr/lib/pressure-vessel/overrides",
"overrides/",
"usr/lib/pressure-vessel/overrides/",
};
g_autoptr(GError) error = NULL;
g_autofree gchar *output = NULL;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment