xshellinc / iotit

Flashing Tool for SBCs
Apache License 2.0
25 stars 1 forks source link

Cannot change locale #92

Closed makeupsomething closed 7 years ago

makeupsomething commented 7 years ago

When flash and set a new locale using iotit this error appears on raspberry pi 2 when booting up.

-bash: warning: setlocale: LC_ALL: cannot change locale (uk_UA.utf8)

dbsparkle commented 7 years ago

@makeupsomething uk_UA.utf8 is Ukraine locale...

tectiv3 commented 7 years ago

yeah, you've set it manually at configuration step?

makeupsomething commented 7 years ago

@tectiv3 yep

tectiv3 commented 7 years ago

well, it means you need to run sudo locale-gen uk_UA and sudo dpkg-reconfigure locales and @dbsparkle is right it's a ukrainian locale

dbsparkle commented 7 years ago

I am wondering why Ukrainian locale has been set as default? :)

makeupsomething commented 7 years ago

@tectiv3 Why do I have to run it? Should it not have been set by iotit?

Why is everyone mentioning that it is Ukraine? :)

makeupsomething commented 7 years ago

@dbsparkle not by default, i set it during configuration

tectiv3 commented 7 years ago

@dbsparkle don't look at me I don't use ukrainian locale:)

tectiv3 commented 7 years ago

@makeupsomething well, this is needs to be run on an actual system. iotit only prepares the image. ofc we can make some sort of startup script that run only on a first boot. But that wouldn't look good I think.

makeupsomething commented 7 years ago

ofc we can make some sort of startup script that run only on a first boot

Not necessary i think. Closing this issue.