From 6ce19709f7835ee5cd7915e181f89397975236c8 Mon Sep 17 00:00:00 2001 From: Samuli Piippo Date: Wed, 4 Feb 2026 06:42:05 +0000 Subject: [PATCH] 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 --- meta/lib/oe/utils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 = [] -- 2.47.3