mirror of
https://git.yoctoproject.org/poky
synced 2026-04-17 00:32:13 +02:00
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: 99b3e9101dc931e8d68158e7cf268dd7c6fee84c) 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>
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user