Skip to contentSkip to conversation

Conditionally install files depending on locale

DISCUSSION Amr Bekhit 2 participants 2 messages May 31, 2021 – Jun 3, 2021

lore
Share & tools
lore

Amr Bekhit

author
#0 lore raw

Hello,

I'm trying to put together a recipe where I conditionally install files depending on the image locale. I can see from the reference manual that Yocto will use the contents of IMAGE_LINGUAS to install locales during the root filesystem construction process. How can I go about creating locales for my custom packages/recipes?

#1 lore raw

You might consider creating a custom task in your recipe where you can handle your unique requirements.

https://www.yoctoproject.org/docs/latest/bitbake-user-manual/bitbake-user-manual.html#tasks

Scott

Quoted 6 lines · Amr Bekhit

Hello,

I'm trying to put together a recipe where I conditionally install files depending on the image locale. I can see from the reference manual that Yocto will use the contents of IMAGE_LINGUAS to install locales during the root filesystem construction process. How can I go about creating locales for my custom packages/recipes?