1
0
mirror of https://git.yoctoproject.org/poky synced 2026-05-31 00:39:46 +00:00

lib/oe/package: add LOCALE_PATHS to add define all locations for locales

Some packages may contain localized files not located in default path
${datadir}/locale. Add the new variable LOCALE_PATHS to allow a recipe
to define extra paths or even fully override the scanned directories.
LOCALE_PATHS is set at ${datadir}/locale by default to keep the exact
same behavior for the recipes which did not need modification.

(From OE-Core rev: 0ffc7cf01225743789ac30dd325fca05b9203be1)

Signed-off-by: Jonathan GUILLOT <jonathan@joggee.fr>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Jonathan GUILLOT
2023-12-06 16:03:47 +00:00
committed by Richard Purdie
parent c381ca7243
commit c2a7c008e1
3 changed files with 16 additions and 10 deletions
+1
View File
@@ -335,6 +335,7 @@ python package_convert_pr_autoinc() {
}
LOCALEBASEPN ??= "${PN}"
LOCALE_PATHS ?= "${datadir}/locale"
python package_do_split_locales() {
oe.package.split_locales(d)