Skip to content
Snippets Groups Projects
Commit b3def8b5 authored by Julien (jvoisin) Voisin's avatar Julien (jvoisin) Voisin
Browse files

Mount /etc/alternatives inside bubblewrap

This is now required by ffmpeg
parent 77dde8a0
No related branches found
No related tags found
No related merge requests found
......@@ -37,7 +37,7 @@ def _get_bwrap_args(tempdir: str,
# XXX: use --ro-bind-try once all supported platforms
# have a bubblewrap recent enough to support it.
ro_bind_dirs = ['/usr', '/lib', '/lib64', '/bin', '/sbin', cwd]
ro_bind_dirs = ['/usr', '/lib', '/lib64', '/bin', '/sbin', '/etc/alternatives', cwd]
for bind_dir in ro_bind_dirs:
if os.path.isdir(bind_dir): # pragma: no cover
ro_bind_args.extend(['--ro-bind', bind_dir, bind_dir])
......
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