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,
|
'--chdir', cwd,
|
||||||
'--unshare-all',
|
'--unshare-all',
|
||||||
'--new-session',
|
'--new-session',
|
||||||
|
'--ro-bind', '/etc/ld.so.cache', '/etc/ld.so.cache',
|
||||||
# XXX: enable --die-with-parent once all supported platforms have
|
# XXX: enable --die-with-parent once all supported platforms have
|
||||||
# a bubblewrap recent enough to support it.
|
# a bubblewrap recent enough to support it.
|
||||||
# '--die-with-parent',
|
# '--die-with-parent',
|
||||||
|
Loading…
Reference in New Issue
Block a user