diff options
| author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2023-02-04 08:51:03 +0000 |
|---|---|---|
| committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2023-02-04 17:02:10 +0000 |
| commit | 1d8e6b0f9888feadfd6106e6aa651cbab562b133 (patch) | |
| tree | d2cf7f905c4fbe03633eda0f2cf774266b2a2299 | |
| parent | 3ff392fb585439960ee34316132aca5740dbd7c5 (diff) | |
| download | poky-1d8e6b0f9888feadfd6106e6aa651cbab562b133.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.
(From OE-Core rev: f2844c9f1bbb729562063d96a3d1cc9d44dafa0a)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
| -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" | |||
| 51 | OVERRIDES:append = ":${TARGET_ARCH}-${TARGET_OS}" | 51 | OVERRIDES:append = ":${TARGET_ARCH}-${TARGET_OS}" |
| 52 | 52 | ||
| 53 | locale_base_postinst_ontarget() { | 53 | locale_base_postinst_ontarget() { |
| 54 | mkdir ${libdir}/locale | ||
| 54 | localedef --inputfile=${datadir}/i18n/locales/%s --charmap=%s %s | 55 | localedef --inputfile=${datadir}/i18n/locales/%s --charmap=%s %s |
| 55 | } | 56 | } |
| 56 | 57 | ||
