I will merge those two files and remove locales pkg installation - currently it is already installed by debootstrap anyhow.
but still this won't solve the warnings during img buildiing as 'chroot' is preserving host machine env by default - if there will be anything else as the en_US, there will be still warnings.
perhaps easiest would be to start relevant chroots with LC_ALL=C.
there already is https://github.com/xbianonpi/xbian/blob/master/xbian-build-img/hooks.d/pre-finish.d/locale-gen
I will merge those two files and remove locales pkg installation - currently it is already installed by debootstrap anyhow.
but still this won't solve the warnings during img buildiing as 'chroot' is preserving host machine env by default - if there will be anything else as the en_US, there will be still warnings.
perhaps easiest would be to start relevant chroots with LC_ALL=C.