public inbox for openembedded-core@lists.openembedded.org
 help / color / mirror / Atom feed
* [PATCH v2 0/2] lib/oe/package: fix LOCALE_PATHS scan to create locale packages
@ 2024-02-23 13:40 Jonathan GUILLOT
  2024-02-19 16:19 ` [PATCH v2 2/2] " Jonathan GUILLOT
  2024-02-23  9:51 ` [PATCH v2 1/2] glibc-locale: add an explicit dedicated package for locale.alias file Jonathan GUILLOT
  0 siblings, 2 replies; 3+ messages in thread
From: Jonathan GUILLOT @ 2024-02-23 13:40 UTC (permalink / raw)
  To: openembedded-core

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


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2024-02-23 13:40 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-02-23 13:40 [PATCH v2 0/2] lib/oe/package: fix LOCALE_PATHS scan to create locale packages Jonathan GUILLOT
2024-02-19 16:19 ` [PATCH v2 2/2] " Jonathan GUILLOT
2024-02-23  9:51 ` [PATCH v2 1/2] glibc-locale: add an explicit dedicated package for locale.alias file Jonathan GUILLOT

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox