yocto: how to install command locale & localedef?

后端 未结 1 888
栀梦
栀梦 2021-01-12 16:38

How to install command locale & localedef for my image in the yocto project? I have try the following:

IMAGE_INSTALL_append = \" glibc-locale\"
         


        
1条回答
  •  孤城傲影
    2021-01-12 17:11

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

    0 讨论(0)
提交回复
热议问题