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

pv-wrap: Assume that Flatpak 1.11.x is at least 1.10.1-80-gcb47d83b


All the features we need seem to have been merged into Flatpak
git master. If people are running a git snapshot, let's assume it's
the right git snapshot.

Signed-off-by: default avatarSimon McVittie <smcv@collabora.com>
parent 6b6b8b7a
No related branches found
No related tags found
1 merge request!293Simplify Flatpak support
......@@ -156,7 +156,7 @@ pv_wrap_check_flatpak (const char *tools_dir,
g_auto(GStrv) filesystems = NULL;
g_warning ("Using experimental Flatpak sub-sandboxing "
"(requires Flatpak 1.11.x commit 1.10.1-65-g3ebf371f "
"(requires Flatpak 1.11.x commit 1.10.1-80-gcb47d83b "
"or later)");
subsandbox = get_subsandbox_adverb (launch_executable);
......@@ -190,25 +190,6 @@ pv_wrap_check_flatpak (const char *tools_dir,
"(flatpak#4214). "
"The Steam Overlay will not work.");
}
if (filesystems != NULL
&& g_strv_contains ((const char * const *) filesystems, "/tmp"))
{
g_debug ("OK: /tmp shared with host");
}
else if (features != NULL
&& g_strv_contains ((const char * const *) features,
"per-app-dev-shm"))
{
g_debug ("OK: assuming that per-app-ID /dev/shm (flatpak#4214) "
"implies per-app-ID /tmp (flatpak#4093)");
}
else
{
g_warning ("Cannot tell whether /tmp is shared between app "
"instances (flatpak#4093). "
"The Steam Overlay browser might not work.");
}
}
/* Deliberately not documented: only people who are in a position
* to run their own modified versions of Flatpak and pressure-vessel
......
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