From 4460ea782f7935e9ac8b2260c2fb578488187a81 Mon Sep 17 00:00:00 2001 From: Raymes Khoury Date: Tue, 13 Sep 2011 16:35:03 -0700 Subject: [PATCH] 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 Reviewed-by: Thieu Le Tested-by: David James --- sdk_lib/enter_chroot.sh | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/sdk_lib/enter_chroot.sh b/sdk_lib/enter_chroot.sh index 8750300e93..2839a99e42 100755 --- a/sdk_lib/enter_chroot.sh +++ b/sdk_lib/enter_chroot.sh @@ -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.