Wind River Support Network

HomeDefectsLIN7-4014
Fixed

LIN7-4014 : 'locale' command (glibc-utils pkg) not available

Created: Jun 15, 2015    Updated: Sep 8, 2018
Resolved Date: Jun 25, 2015
Found In Version: 7.0.0.5
Fix Version: 7.0.0.7
Severity: Standard
Applicable for: Wind River Linux 7
Component/s: Build & Config, Userspace

Description

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
---


Steps to Reproduce

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

Other Downloads


Live chat
Online