]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core.git/commit
lib/oe/package: fix LOCALE_PATHS scan to create locale packages
authorJonathan GUILLOT <jonathan@joggee.fr>
Mon, 19 Feb 2024 16:19:28 +0000 (16:19 +0000)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Sat, 24 Feb 2024 16:10:19 +0000 (16:10 +0000)
commitba3aee0d516bd066829d6edaa8d7bacdd75dd6ef
tree8d9ba91adebfac46e6e234b1583b4a0a709feed1
parentbfff81195cb9ba2493e366022470b2e0051d8071
lib/oe/package: fix LOCALE_PATHS scan to create locale packages

split_locales() must only check subdirectories in paths added to
LOCALE_PATHS to avoid creating weird packages based on filenames also
present in paths.

Without such a filter, cups recipe adding ${datadir}/cups/templates to
LOCALE_PATHS creates the following incorrect packages:
- cups-locale-add-class.tmpl
- cups-locale-add-printer.tmpl
- cups-locale-admin.tmpl

Signed-off-by: Jonathan GUILLOT <jonathan@joggee.fr>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/conf/documentation.conf
meta/lib/oe/package.py