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

bwrap: Don't create a /libexec symlink


We want all the libQUAL directories, including lib32 and lib64 (and in
principle also libx32, libn32 etc.), but we specifically don't care
about libexec. Real systems don't usually symlink /usr/libexec into the
root directory.

If we create a /libexec symlink, the only effect it might have is that
game developers start relying on it, which we certainly don't want.

Signed-off-by: default avatarSimon McVittie <smcv@collabora.com>
parent 7501743f
No related branches found
No related tags found
No related merge requests found
......@@ -224,7 +224,8 @@ pv_bwrap_bind_usr (FlatpakBwrap *bwrap,
member != NULL;
member = g_dir_read_name (dir))
{
if (g_str_has_prefix (member, "lib")
if ((g_str_has_prefix (member, "lib")
&& !g_str_equal (member, "libexec"))
|| g_str_equal (member, "bin")
|| g_str_equal (member, "sbin")
|| g_str_equal (member, ".ref"))
......
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