mirror of
https://github.com/flatcar/scripts.git
synced 2025-08-07 04:56:58 +02:00
enter_chroot: skip calling locale-gen if it isn't installed
This commit is contained in:
parent
1093592e4d
commit
863dda280f
@ -159,6 +159,10 @@ promote_api_keys() {
|
||||
}
|
||||
|
||||
generate_locales() {
|
||||
# Going forward the SDK will no longer include locale-gen and instead
|
||||
# glibc will just install the full locale archive, skipping this goo.
|
||||
[[ -x "${FLAGS_chroot}/usr/sbin/locale-gen" ]] || return 0
|
||||
|
||||
# Make sure user's requested locales are available
|
||||
# http://crosbug.com/19139
|
||||
# And make sure en_US{,.UTF-8} are always available as
|
||||
|
Loading…
Reference in New Issue
Block a user