You also may need to add an append for the image recipe, for example

add

IMAGE_LINGUAS_zynq = "en-us"

to project-spec/meta-user/recipes-core/images/petalinux-image-minimal.bbappend 
creating the file if needed. It seems Petalinux sometimes ignores this when set 
in petalinuxbsp.conf.



From: Geoff Gillett<mailto:[email protected]>
Sent: November 8, 2021 8:27 AM
To: Mark<mailto:[email protected]>; 
[email protected]<mailto:[email protected]>
Subject: Re: [meta-xilinx] How to enable us_en.utf-8 for tmux

Hi Mark,

Adding

# for tmux
GLIBC_GENERATE_LOCALES = "en_US.UTF-8"
IMAGE_INSTALL_append = " glibc-utils localedef "

to project-spec/meta-user/conf/petalinuxbsp.conf worked for me.

Cheers,
Geoff.
From: Mark<mailto:[email protected]>
Sent: November 8, 2021 8:12 AM
To: 
[email protected]<mailto:[email protected]>
Subject: [meta-xilinx] How to enable us_en.utf-8 for tmux


I have found very little in the docs regarding locales and how to configure 
them. I’m using petalinux and trying to get tmux to work on our target but it 
complains that it needs the UTF-8 locale. Locale -a reports C and POSIX. I’ve 
tried to set IMAGE_LINGUAS but it seems to have no effect.

I’m new to Yocto and know even less about petalinux so any help is appreciated.

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#4932): 
https://lists.yoctoproject.org/g/meta-xilinx/message/4932
Mute This Topic: https://lists.yoctoproject.org/mt/86904830/21656
Group Owner: [email protected]
Unsubscribe: https://lists.yoctoproject.org/g/meta-xilinx/unsub 
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to