Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
jvoisin
mat2
Commits
b3def8b5
Commit
b3def8b5
authored
Nov 13, 2020
by
jvoisin
Browse files
Mount /etc/alternatives inside bubblewrap
This is now required by ffmpeg
parent
77dde8a0
Pipeline
#49055
failed with stages
in 1 minute and 53 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
libmat2/bubblewrap.py
libmat2/bubblewrap.py
+1
-1
No files found.
libmat2/bubblewrap.py
View file @
b3def8b5
...
@@ -37,7 +37,7 @@ def _get_bwrap_args(tempdir: str,
...
@@ -37,7 +37,7 @@ def _get_bwrap_args(tempdir: str,
# XXX: use --ro-bind-try once all supported platforms
# XXX: use --ro-bind-try once all supported platforms
# have a bubblewrap recent enough to support it.
# 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
:
for
bind_dir
in
ro_bind_dirs
:
if
os
.
path
.
isdir
(
bind_dir
):
# pragma: no cover
if
os
.
path
.
isdir
(
bind_dir
):
# pragma: no cover
ro_bind_args
.
extend
([
'--ro-bind'
,
bind_dir
,
bind_dir
])
ro_bind_args
.
extend
([
'--ro-bind'
,
bind_dir
,
bind_dir
])
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment