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-15 21:46:56 +0000 |
| commit | b06c7eac7addc4211844f53b40b81f729c2941fa (patch) | |
| tree | 00bbe6a6495d48d95c9ec9713636a02b26faf07c /meta/classes/libc-package.bbclass | |
| parent | a05eb327e1c1f373023c39bd3c31b6f97e5d0cfe (diff) | |
| download | poky-b06c7eac7addc4211844f53b40b81f729c2941fa.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: 258115c2a7d78f0416f952122c9448a805dab08f)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit f2844c9f1bbb729562063d96a3d1cc9d44dafa0a)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes/libc-package.bbclass')
| -rw-r--r-- | meta/classes/libc-package.bbclass | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/meta/classes/libc-package.bbclass b/meta/classes/libc-package.bbclass index 13ef8cdc0d..baab8fc9a9 100644 --- a/meta/classes/libc-package.bbclass +++ b/meta/classes/libc-package.bbclass | |||
| @@ -45,6 +45,7 @@ PACKAGE_NO_GCONV ?= "0" | |||
| 45 | OVERRIDES:append = ":${TARGET_ARCH}-${TARGET_OS}" | 45 | OVERRIDES:append = ":${TARGET_ARCH}-${TARGET_OS}" |
| 46 | 46 | ||
| 47 | locale_base_postinst_ontarget() { | 47 | locale_base_postinst_ontarget() { |
| 48 | mkdir ${libdir}/locale | ||
| 48 | localedef --inputfile=${datadir}/i18n/locales/%s --charmap=%s %s | 49 | localedef --inputfile=${datadir}/i18n/locales/%s --charmap=%s %s |
| 49 | } | 50 | } |
| 50 | 51 | ||
