extend buildlocales switch to locael-gen; triggers with certain iso profiles for unknow reasons a locked /dev mount

This commit is contained in:
udeved 2015-01-08 17:51:39 +01:00
parent ae2095e642
commit a59555f23e

View file

@ -81,8 +81,9 @@ basestrap -GMcd ${pac_conf:+-C "$pac_conf"} "$working_dir" \
echo "$version" > "$working_dir/.manjaro-tools"
${build_locales} && printf '%s.UTF-8 UTF-8\n' en_US de_DE > "$working_dir/etc/locale.gen"
${build_locales} && echo 'LANG=C' > "$working_dir/etc/locale.conf"
if ${build_locales};then
printf '%s.UTF-8 UTF-8\n' en_US de_DE > "$working_dir/etc/locale.gen"
echo 'LANG=C' > "$working_dir/etc/locale.conf"
exec chroot-run \
${pac_conf:+-C "$pac_conf"} \
@ -90,3 +91,4 @@ exec chroot-run \
${mirrors_conf:+-S "$mirrors_conf"} \
${cache_dir:+-c "$cache_dir"} \
"$working_dir" locale-gen
fi