diff options
author | Saul Wold <Saul.Wold@windriver.com> | 2022-03-09 09:40:52 -0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2022-03-10 08:00:28 +0000 |
commit | d9e500f83d0223925ca2595c77c8fb45eab10f7c (patch) | |
tree | 5b8fc1787ced86daebd7a7e26dd3bd69f9d5551b /meta/lib/oe/utils.py | |
parent | 8827a3ed80ec8f0adcf4b778f88cb8f9f051262b (diff) | |
download | poky-d9e500f83d0223925ca2595c77c8fb45eab10f7c.tar.gz |
meta/scripts: Improve internal variable naming
Update internal variable names to improve the terms used.
(From OE-Core rev: f408068e5d7998ae165f3002e51bc54b380b8099)
Signed-off-by: Saul Wold <saul.wold@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
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 | ||