Call locale-gen with full path in chroot environment

Thanks to Peter Schuller for this hint
This commit is contained in:
Pierre Schmitz 2011-10-14 09:55:28 +02:00
parent 5c6c2d532e
commit f10d88e029
1 changed files with 1 additions and 1 deletions

View File

@ -221,7 +221,7 @@ else
if [ -e "${working_dir}/etc/locale.gen" ]; then
sed -i 's@^#\(en_US\|de_DE\)\(\.UTF-8\)@\1\2@' "${working_dir}/etc/locale.gen"
chroot "${working_dir}" locale-gen
chroot "${working_dir}" /usr/sbin/locale-gen
fi
if [ ! -e "${working_dir}/.arch-chroot" ]; then