yocto:如何安装命令语言环境 &本地定义? [英] yocto: how to install command locale & localedef?
本文介绍了yocto:如何安装命令语言环境 &本地定义?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
如何安装命令语言环境 &yocto 项目中我的图像的 localedef ?我尝试了以下方法:
How to install command locale & localedef for my image in the yocto project? I have try the following:
IMAGE_INSTALL_append = " glibc-locale"
但它不起作用.我该怎么做?
But it does not work. How can I do it?
推荐答案
locale
位于名为 glibc-utils
的包中,localedef
位于在名为 localedef
的包中.因此,您可以通过执行以下操作将这些添加到您的图像中:
locale
is in a package called glibc-utils
and localedef
is in a package called localedef
. Thus you can add these to your image by doing the following:
IMAGE_INSTALL_append = " glibc-utils localedef"
顺便说一句,我使用以下命令找到了这些包(还有其他方法,但如果提供文件的包已经构建,这将起作用):
BTW I found these packages using the following command (there are other ways, but this will work if the package providing the file has already been built):
oe-pkgdata-util find-path "*/bin/locale*"
这篇关于yocto:如何安装命令语言环境 &本地定义?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文