summaryrefslogtreecommitdiffstats
path: root/meta/classes-recipe
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2023-02-04 08:51:03 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2023-02-04 17:02:10 +0000
commit1d8e6b0f9888feadfd6106e6aa651cbab562b133 (patch)
treed2cf7f905c4fbe03633eda0f2cf774266b2a2299 /meta/classes-recipe
parent3ff392fb585439960ee34316132aca5740dbd7c5 (diff)
downloadpoky-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>
Diffstat (limited to 'meta/classes-recipe')
-rw-r--r--meta/classes-recipe/libc-package.bbclass1
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"
51OVERRIDES:append = ":${TARGET_ARCH}-${TARGET_OS}" 51OVERRIDES:append = ":${TARGET_ARCH}-${TARGET_OS}"
52 52
53locale_base_postinst_ontarget() { 53locale_base_postinst_ontarget() {
54mkdir ${libdir}/locale
54localedef --inputfile=${datadir}/i18n/locales/%s --charmap=%s %s 55localedef --inputfile=${datadir}/i18n/locales/%s --charmap=%s %s
55} 56}
56 57