Commit f10d88e0 authored by Pierre Schmitz's avatar Pierre Schmitz
Browse files

Call locale-gen with full path in chroot environment

Thanks to Peter Schuller for this hint
parent 5c6c2d53
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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