bind mount /etc/ld.so.cache to the sandbox
without /etc/ld.so.cache available in the sandbox, tests fail on gentoo with: /usr/bin/ffmpeg: error while loading shared libraries: libstdc++.so.6: cannot open shared object file: No such file or directory
This commit is contained in:
parent
6ef6aaa222
commit
a71488d459
@ -47,6 +47,7 @@ def _get_bwrap_args(tempdir: str,
|
||||
'--chdir', cwd,
|
||||
'--unshare-all',
|
||||
'--new-session',
|
||||
'--ro-bind', '/etc/ld.so.cache', '/etc/ld.so.cache',
|
||||
# XXX: enable --die-with-parent once all supported platforms have
|
||||
# a bubblewrap recent enough to support it.
|
||||
# '--die-with-parent',
|
||||
|
Loading…
Reference in New Issue
Block a user