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

wrap: Accompany host libc with host locales

parent a1f1976d
No related branches found
No related tags found
No related merge requests found
......@@ -566,6 +566,15 @@ if [ -n "$runtime" ]; then
bwrap_options+=(--ro-bind "$real_path_in_host" \
"/usr$real_path_in_runtime")
fi
# We should also pick up its locale archives.
if [ -e /usr/lib/locale ]; then
bwrap_options+=(--ro-bind /usr/lib/locale /usr/lib/locale)
fi
if [ -e /usr/share/i18n ]; then
bwrap_options+=(--ro-bind /usr/share/i18n /usr/share/i18n)
fi
fi
# /lib, /lib32 or /lib64
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment