diff --git a/chroot_version_hooks.d/10_default_locales b/chroot_version_hooks.d/10_default_locales new file mode 100644 index 0000000000..51d573ba07 --- /dev/null +++ b/chroot_version_hooks.d/10_default_locales @@ -0,0 +1,16 @@ +# Copyright (c) 2011 The Chromium OS Authors. All rights reserved. +# Use of this source code is governed by a BSD-style license that can be +# found in the LICENSE file. + +# Make sure existing chroot's have default locales enabled +# to match the new make_chroot behavior +# http://crosbug.com/20378 +if ! grep -q -v -e '^#' -e '^$' /etc/locale.gen ; then + sudo_append /etc/locale.gen <