diff options
author | Scott Murray <scott.murray@konsulko.com> | 2022-02-17 17:09:32 -0500 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2022-02-21 23:37:26 +0000 |
commit | 09a62d96c76333f8abda1d28156378e42630fd9a (patch) | |
tree | 0604ebe06323b96568c179388ba1bead48884715 /bitbake/lib/layerindexlib | |
parent | f2fc11cad737f1da2cbee45c645e1b87225c85c7 (diff) | |
download | poky-09a62d96c76333f8abda1d28156378e42630fd9a.tar.gz |
bitbake: lib: Replace remaining "blacklist"/"whitelist" usage
In line with the inclusive language migration defined at:
https://wiki.yoctoproject.org/wiki/Inclusive_language
replace the remaining non-backwards-compatibility related usage
of "blacklist"/"whitelist" with "allowed"/"disallowed" in a few
places as appropriate.
(Bitbake rev: f579fb8c23d2919d25641fa4234f8a1e9c06a922)
Signed-off-by: Scott Murray <scott.murray@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake/lib/layerindexlib')
-rw-r--r-- | bitbake/lib/layerindexlib/__init__.py | 4 | ||||
-rw-r--r-- | bitbake/lib/layerindexlib/cooker.py | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/bitbake/lib/layerindexlib/__init__.py b/bitbake/lib/layerindexlib/__init__.py index 08063c571e..ac03d89876 100644 --- a/bitbake/lib/layerindexlib/__init__.py +++ b/bitbake/lib/layerindexlib/__init__.py | |||
@@ -1278,7 +1278,7 @@ class Recipe(LayerIndexItemObj_LayerBranch): | |||
1278 | filename, filepath, pn, pv, layerbranch, | 1278 | filename, filepath, pn, pv, layerbranch, |
1279 | summary="", description="", section="", license="", | 1279 | summary="", description="", section="", license="", |
1280 | homepage="", bugtracker="", provides="", bbclassextend="", | 1280 | homepage="", bugtracker="", provides="", bbclassextend="", |
1281 | inherits="", blacklisted="", updated=None): | 1281 | inherits="", disallowed="", updated=None): |
1282 | self.id = id | 1282 | self.id = id |
1283 | self.filename = filename | 1283 | self.filename = filename |
1284 | self.filepath = filepath | 1284 | self.filepath = filepath |
@@ -1294,7 +1294,7 @@ class Recipe(LayerIndexItemObj_LayerBranch): | |||
1294 | self.bbclassextend = bbclassextend | 1294 | self.bbclassextend = bbclassextend |
1295 | self.inherits = inherits | 1295 | self.inherits = inherits |
1296 | self.updated = updated or datetime.datetime.today().isoformat() | 1296 | self.updated = updated or datetime.datetime.today().isoformat() |
1297 | self.blacklisted = blacklisted | 1297 | self.disallowed = disallowed |
1298 | if isinstance(layerbranch, LayerBranch): | 1298 | if isinstance(layerbranch, LayerBranch): |
1299 | self.layerbranch = layerbranch | 1299 | self.layerbranch = layerbranch |
1300 | else: | 1300 | else: |
diff --git a/bitbake/lib/layerindexlib/cooker.py b/bitbake/lib/layerindexlib/cooker.py index 2de6e5faa0..ced3e06360 100644 --- a/bitbake/lib/layerindexlib/cooker.py +++ b/bitbake/lib/layerindexlib/cooker.py | |||
@@ -279,7 +279,7 @@ class CookerPlugin(layerindexlib.plugin.IndexPlugin): | |||
279 | summary=pn, description=pn, section='?', | 279 | summary=pn, description=pn, section='?', |
280 | license='?', homepage='?', bugtracker='?', | 280 | license='?', homepage='?', bugtracker='?', |
281 | provides='?', bbclassextend='?', inherits='?', | 281 | provides='?', bbclassextend='?', inherits='?', |
282 | blacklisted='?', layerbranch=depBranchId) | 282 | disallowed='?', layerbranch=depBranchId) |
283 | 283 | ||
284 | index = addElement("recipes", [recipe], index) | 284 | index = addElement("recipes", [recipe], index) |
285 | 285 | ||