yocto: how to install command locale & localedef?

泄露秘密 提交于 2019-12-19 08:14:25

问题


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?


回答1:


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


来源:https://stackoverflow.com/questions/38735943/yocto-how-to-install-command-locale-localedef

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!