Skip to content
Snippets Groups Projects
Commit 23035e38 authored by Simon McVittie's avatar Simon McVittie
Browse files

bwrap: Don't bind-mount files into /etc as part of binding /usr


If we want to deal with strange operating systems that use a non-standard
filename for ld.so.cache, we'll have to special-case it. There's
little extra cost to doing this because we already need to understand
how ld.so.cache works, to be able to generate our own with different
search paths.

In situations where we just want a quick container to be able to inspect
the runtime, we can deal with this by mounting all of /etc read-only.

For the final container, we already iterate over all the files in the
runtime's /etc, which will "naturally" include ld.so.cache and
alternatives.

Signed-off-by: default avatarSimon McVittie <smcv@collabora.com>
parent fc405488
No related branches found
No related tags found
1 merge request!169Multiarch ABI refactoring
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment