diff options
author | Pedro Baptista <pedro.miguel.baptista@gmail.com> | 2023-01-27 00:54:56 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2023-02-04 17:03:15 +0000 |
commit | 9724df2861d55decdcb1618a9b2b64bef9ab9455 (patch) | |
tree | 82ec306b650202c3ecd107056d0fa708c34d04e5 /bitbake | |
parent | 8e035db1e5f05edc00fb903673b4bffe73144629 (diff) | |
download | poky-9724df2861d55decdcb1618a9b2b64bef9ab9455.tar.gz |
bitbake: bblayers/query: Replace layer directory name with layer name for show-layers
Replace the layer directory name with the name from BBFILE_COLLECTIONS
which is useful when assigning a LAYERDEPENDS value
(Bitbake rev: 517cc3f5aee2a7d6362ce0202d4ee709a5378096)
Signed-off-by: Pedro Baptista <pedro.miguel.baptista@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake')
-rw-r--r-- | bitbake/lib/bblayers/query.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/bitbake/lib/bblayers/query.py b/bitbake/lib/bblayers/query.py index afd39518e5..4c0713265c 100644 --- a/bitbake/lib/bblayers/query.py +++ b/bitbake/lib/bblayers/query.py | |||
@@ -33,8 +33,8 @@ class QueryPlugin(LayerPlugin): | |||
33 | logger.plain('=' * 74) | 33 | logger.plain('=' * 74) |
34 | for layer, _, regex, pri in self.tinfoil.cooker.bbfile_config_priorities: | 34 | for layer, _, regex, pri in self.tinfoil.cooker.bbfile_config_priorities: |
35 | layerdir = self.bbfile_collections.get(layer, None) | 35 | layerdir = self.bbfile_collections.get(layer, None) |
36 | layername = self.get_layer_name(layerdir) | 36 | layername = layer |
37 | logger.plain("%s %s %d" % (layername.ljust(20), layerdir.ljust(40), pri)) | 37 | logger.plain("%s %s %d" % (layername.ljust(20), layerdir.ljust(0), pri)) |
38 | 38 | ||
39 | def version_str(self, pe, pv, pr = None): | 39 | def version_str(self, pe, pv, pr = None): |
40 | verstr = "%s" % pv | 40 | verstr = "%s" % pv |