build-fhs-userenv-bubblewrap: don't bind /etc/fonts from fhs environment
This commit is contained in:
parent
fe49d856b0
commit
34fae590bf
@ -80,6 +80,11 @@ let
|
||||
if [[ -d ${env}/etc ]]; then
|
||||
for i in ${env}/etc/*; do
|
||||
path="/''${i##*/}"
|
||||
# NOTE: we're binding /etc/fonts from the host so we don't want to
|
||||
# override it with a path from the FHS environment.
|
||||
if [[ $path == '/fonts' ]]; then
|
||||
continue
|
||||
fi
|
||||
ro_mounts+=(--ro-bind "$i" "/etc$path")
|
||||
done
|
||||
fi
|
||||
|
Loading…
Reference in New Issue
Block a user