From: Samuli Piippo Date: Wed, 4 Feb 2026 06:42:05 +0000 (+0000) Subject: oe/utils: filter license packages X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6ce19709f7835ee5cd7915e181f89397975236c8;p=thirdparty%2Fopenembedded%2Fopenembedded-core.git oe/utils: filter license packages The packages_filter_out_system() function is used in PACKAGESPLITFUNCS to filter out "system" packages (-dbg, -dev). The filtered packages should include license packages (-lic) as well, when they are generated with LICENSE_CREATE_PACKAGE = "1", otherwise the license packages will get pulled into images unintentionally. Signed-off-by: Samuli Piippo Signed-off-by: Mathieu Dubois-Briand Signed-off-by: Richard Purdie --- diff --git a/meta/lib/oe/utils.py b/meta/lib/oe/utils.py index 0128ee411d..2b39d4e0dd 100644 --- a/meta/lib/oe/utils.py +++ b/meta/lib/oe/utils.py @@ -236,7 +236,7 @@ def packages_filter_out_system(d): PN-dbg PN-doc PN-locale-eb-gb removed. """ pn = d.getVar('PN') - pkgfilter = [pn + suffix for suffix in ('', '-dbg', '-dev', '-doc', '-locale', '-staticdev', '-src')] + pkgfilter = [pn + suffix for suffix in ('', '-dbg', '-dev', '-doc', '-locale', '-staticdev', '-src', '-lic')] localepkg = pn + "-locale-" pkgs = []