From f10d88e029e3b2523c5ab069a9deaf061fb8fd65 Mon Sep 17 00:00:00 2001 From: Pierre Schmitz Date: Fri, 14 Oct 2011 09:55:28 +0200 Subject: Call locale-gen with full path in chroot environment Thanks to Peter Schuller for this hint --- mkarchroot.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mkarchroot.in b/mkarchroot.in index 8e74c54..0debb13 100644 --- a/mkarchroot.in +++ b/mkarchroot.in @@ -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 -- cgit v1.2.3-70-g09d2