diff options
Diffstat (limited to 'meta/lib/oe/utils.py')
-rw-r--r-- | meta/lib/oe/utils.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/meta/lib/oe/utils.py b/meta/lib/oe/utils.py index 84790b7dff..46fc76c261 100644 --- a/meta/lib/oe/utils.py +++ b/meta/lib/oe/utils.py | |||
@@ -221,12 +221,12 @@ def packages_filter_out_system(d): | |||
221 | PN-dbg PN-doc PN-locale-eb-gb removed. | 221 | PN-dbg PN-doc PN-locale-eb-gb removed. |
222 | """ | 222 | """ |
223 | pn = d.getVar('PN') | 223 | pn = d.getVar('PN') |
224 | blacklist = [pn + suffix for suffix in ('', '-dbg', '-dev', '-doc', '-locale', '-staticdev', '-src')] | 224 | pkgfilter = [pn + suffix for suffix in ('', '-dbg', '-dev', '-doc', '-locale', '-staticdev', '-src')] |
225 | localepkg = pn + "-locale-" | 225 | localepkg = pn + "-locale-" |
226 | pkgs = [] | 226 | pkgs = [] |
227 | 227 | ||
228 | for pkg in d.getVar('PACKAGES').split(): | 228 | for pkg in d.getVar('PACKAGES').split(): |
229 | if pkg not in blacklist and localepkg not in pkg: | 229 | if pkg not in pkgfilter and localepkg not in pkg: |
230 | pkgs.append(pkg) | 230 | pkgs.append(pkg) |
231 | return pkgs | 231 | return pkgs |
232 | 232 | ||