From: Ross Burton Date: Wed, 13 Feb 2019 13:25:51 +0000 (+0000) Subject: utils: add -src to system package name blacklist X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=cdd0683e5e39c52d3d715805739940e3566f6c7c;p=thirdparty%2Fopenembedded%2Fopenembedded-core-contrib.git utils: add -src to system package name blacklist oe.utils.packages_filter_out_system() returns PACKAGES after removing "system" packages but it doesn't handle ${PN}-src as generated by PACKAGE_DEBUG_SPLIT_STYLE=debug-with-srcpkg. (From OE-Core rev: 162632d3d1e40c83ed9c5d49a026edf3912860a0) Signed-off-by: Ross Burton Signed-off-by: Richard Purdie --- diff --git a/meta/lib/oe/utils.py b/meta/lib/oe/utils.py index 7b574ffd30d..0c1d48a209e 100644 --- a/meta/lib/oe/utils.py +++ b/meta/lib/oe/utils.py @@ -214,7 +214,7 @@ def packages_filter_out_system(d): PN-dbg PN-doc PN-locale-eb-gb removed. """ pn = d.getVar('PN') - blacklist = [pn + suffix for suffix in ('', '-dbg', '-dev', '-doc', '-locale', '-staticdev')] + blacklist = [pn + suffix for suffix in ('', '-dbg', '-dev', '-doc', '-locale', '-staticdev', '-src')] localepkg = pn + "-locale-" pkgs = []