mirror of
https://github.com/flatcar/scripts.git
synced 2026-05-04 19:56:32 +02:00
Disable locale-gen temporarily to workaround bug
Works around: http://code.google.com/p/chromium-os/issues/detail?id=20378 which is breaking the tree. BUG=chromium-os:20378 TEST=cros_sdk --enter Change-Id: I0d5dc2dd6466efe9baafcc404648d2c53309a3b7 Reviewed-on: http://gerrit.chromium.org/gerrit/7679 Reviewed-by: David James <davidjames@chromium.org> Reviewed-by: Thieu Le <thieule@chromium.org> Tested-by: David James <davidjames@chromium.org>
This commit is contained in:
parent
4b7838e54d
commit
4460ea782f
@ -333,10 +333,13 @@ function setup_env {
|
||||
esac
|
||||
gen_locales=("${gen_locales[@]}" "${l} ${enc}")
|
||||
done
|
||||
if [[ ${#gen_locales[@]} -gt 0 ]] ; then
|
||||
sudo -- chroot "$FLAGS_chroot" locale-gen -q -u \
|
||||
-G "$(printf '%s\n' "${gen_locales[@]}")"
|
||||
fi
|
||||
# TODO(raymes): Something broke this with the new
|
||||
# glibc. Need to uncomment this as soon as it's fixed.
|
||||
# http://code.google.com/p/chromium-os/issues/detail?id=20378
|
||||
#if [[ ${#gen_locales[@]} -gt 0 ]] ; then
|
||||
# sudo -- chroot "$FLAGS_chroot" locale-gen -q -u \
|
||||
# -G "$(printf '%s\n' "${gen_locales[@]}")"
|
||||
#fi
|
||||
|
||||
# Fix permissions on shared memory to allow non-root users access to POSIX
|
||||
# semaphores.
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user