diff options
| author | Poncho | 2019-02-09 09:47:40 +0100 |
|---|---|---|
| committer | Poncho | 2019-02-09 09:49:51 +0100 |
| commit | a71488d4592cef29d6db0981cd0721250eebaff4 (patch) | |
| tree | f2bb8669ec76f77c3d2f8f815222f35c4591f98f | |
| parent | 6ef6aaa2221340f03c2571a3141c67ca027f5a4f (diff) | |
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
| -rw-r--r-- | libmat2/subprocess.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libmat2/subprocess.py b/libmat2/subprocess.py index 25646f8..e9c66d9 100644 --- a/libmat2/subprocess.py +++ b/libmat2/subprocess.py | |||
| @@ -47,6 +47,7 @@ def _get_bwrap_args(tempdir: str, | |||
| 47 | '--chdir', cwd, | 47 | '--chdir', cwd, |
| 48 | '--unshare-all', | 48 | '--unshare-all', |
| 49 | '--new-session', | 49 | '--new-session', |
| 50 | '--ro-bind', '/etc/ld.so.cache', '/etc/ld.so.cache', | ||
| 50 | # XXX: enable --die-with-parent once all supported platforms have | 51 | # XXX: enable --die-with-parent once all supported platforms have |
| 51 | # a bubblewrap recent enough to support it. | 52 | # a bubblewrap recent enough to support it. |
| 52 | # '--die-with-parent', | 53 | # '--die-with-parent', |
