[PATCH v2 0/2] lib/oe/package: fix LOCALE_PATHS scan to create locale packages

Jonathan GUILLOT
2024-02-23T13:40:47Z

Hi,

The main patch of the series ensures only the subdirectories of paths added to LOCALE_PATHS are scanned to construct the locale packages. Without the check, the CUPS recipe creates packages such as cups-locale-add-class.tmpl because of file /usr/share/cups/templates/add-class.tmpl existence.

New version now also includes a patch for the glibc-locale recipes and its /usr/share/locale/locale.alias file. Until now, the file was added to a package weirdly named glibc-locale-locale.alias package. It was automatically created by the split_locales() function during the do_package step. Now, even if the file is explictly included in a new glic-locale-alias package. Without such a patch, the glibc-locale recipe was also broken by the main LOCALE_PATHS fix.

Regards,
Jonathan GUILLOT

Jonathan GUILLOT (2):
glibc-locale: add an explicit dedicated package for locale.alias file
lib/oe/package: fix LOCALE_PATHS scan to create locale packages

meta/conf/documentation.conf | 2 +-
meta/lib/oe/package.py | 14 +++++++++-----
meta/recipes-core/glibc/glibc-locale.inc | 3 ++-
3 files changed, 12 insertions(+), 7 deletions(-)

base-commit: 4c45f975310184a773b25b8e7d7ef50fba2f7bd6
--
2.43.2