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
|
if [[ -d ${env}/etc ]]; then
|
||||||
for i in ${env}/etc/*; do
|
for i in ${env}/etc/*; do
|
||||||
path="/''${i##*/}"
|
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")
|
ro_mounts+=(--ro-bind "$i" "/etc$path")
|
||||||
done
|
done
|
||||||
fi
|
fi
|
||||||
|
Loading…
x
Reference in New Issue
Block a user