1
0
mirror of synced 2024-11-25 18:54:22 +01:00

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:
Poncho 2019-02-09 09:47:40 +01:00
parent 6ef6aaa222
commit a71488d459

View File

@ -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',