locale command seems to be provided by glibc-utils.
- with glibc-small root FS, we can't explicitly add glibc-utils package. It leads to the following error :
---
WARNING: glibc-utils already in the layers/local/recipes-img/images/wrlinux-image-glibc-small.bbappend
---
- with glibc-core or glibc-std root FS, glibc-utils package is not recognized. It leads to the following error :
---
=== Checking for valid package for glibc-utils ===
=== Still checking ... ===
ERROR: glibc-utils is not a valid package
---
Instead of that the localectl command is available:
--- make start-target
Wind River Linux 7.0.0.5 qemu0 ttyS0
qemu0 login: root
Password:
root@qemu0:~#
root@qemu0:~# localectl
System Locale: n/a
VC Keymap: n/a
X11 Layout: n/a
root@qemu0:~#
root@qemu0:/# find . -name "locale"
./usr/share/locale
./usr/share/groff/1.22.2/tmac/mm/locale
root@qemu0:/# ls /usr/share/locale/
bg cs da de el en es fi fr hr it ja ko nl pl pt ro ru sl
---
1. create platform project with wrlinux-7 : configure --enable-parallel-pkgbuilds=4 --enable-jobs=4 --enable-board=intel-x86-64 --enable-build=production --enable-kernel=standard --enable-rootfs=glibc-std --enable-ccache=yes --with-ccache-dir=/home/wrsupport/Desktop/DATA_DISK/WR_Projects/wrl-7/ccache --with-sstate-dir=/home/wrsupport/Desktop/DATA_DISK/WR_Projects/wrl-7/sstate --enable-reconfig --with-rcpl-version=0005 2. try adding glibc-utils package 3. make start-target 4. look for locale command. only localectl is available