From f2844c9f1bbb729562063d96a3d1cc9d44dafa0a Mon Sep 17 00:00:00 2001 From: Richard Purdie Date: Sat, 4 Feb 2023 08:51:03 +0000 Subject: [PATCH] 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 --- meta/classes-recipe/libc-package.bbclass | 1 + 1 file changed, 1 insertion(+) diff --git a/meta/classes-recipe/libc-package.bbclass b/meta/classes-recipe/libc-package.bbclass index de3d4223a8c..8a99f73ae72 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 } -- 2.47.2