diff options
author | 2023-02-04 08:51:03 +0000 | |
---|---|---|
committer | 2023-02-04 11:40:51 +0000 | |
commit | f2844c9f1bbb729562063d96a3d1cc9d44dafa0a (patch) | |
tree | 251bae886eb4270c022bd555cad7091eda33678d /meta/classes-recipe | |
parent | 95983108121c8b96f5659d110498bf2afc6189d9 (diff) | |
download | openembedded-core-contrib-f2844c9f1bbb729562063d96a3d1cc9d44dafa0a.tar.gz |
libc-locale: Fix on target locale generation
If on target locale generation is used, it fails at first boot showing
errors about a missing directory. Ensure the directory exists.
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes-recipe')
-rw-r--r-- | meta/classes-recipe/libc-package.bbclass | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/meta/classes-recipe/libc-package.bbclass b/meta/classes-recipe/libc-package.bbclass index de3d4223a8..8a99f73ae7 100644 --- a/meta/classes-recipe/libc-package.bbclass +++ b/meta/classes-recipe/libc-package.bbclass @@ -51,6 +51,7 @@ PACKAGE_NO_GCONV ?= "0" OVERRIDES:append = ":${TARGET_ARCH}-${TARGET_OS}" locale_base_postinst_ontarget() { +mkdir ${libdir}/locale localedef --inputfile=${datadir}/i18n/locales/%s --charmap=%s %s } |