summaryrefslogtreecommitdiffstats
path: root/bitbake/lib/bblayers
diff options
context:
space:
mode:
authorMarco Felsch <m.felsch@pengutronix.de>2021-08-17 10:25:33 +0200
committerRichard Purdie <richard.purdie@linuxfoundation.org>2021-10-02 09:55:51 +0100
commit5b13c1d8ab3839cb476f0bbcac0ac3894be32391 (patch)
tree2916679950c82acba274061d85f6cef3b67a49ae /bitbake/lib/bblayers
parentf7e64d59cb8e1084cbbd9058e22393d6aceaa682 (diff)
downloadpoky-5b13c1d8ab3839cb476f0bbcac0ac3894be32391.tar.gz
bitbake: bitbake: bitbake-layers: add skip reason to output
Currently we inform the user that some package/layer is skipped but we don't print the reason albeit bitbake knows the reason. So currently it looks like: gtk+: meta-oe 2.24.32 (skipped) With this change the output prints the skip reason which is very helpful for debugging: gtk+: meta-oe 2.24.32 (skipped: one of 'x11 directfb' needs to be in DISTRO_FEATURES) (Bitbake rev: 253aa584b04f4e5c6e7b16904a9e242a4f5cbd35) Signed-off-by: Marco Felsch <m.felsch@pengutronix.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> (cherry picked from commit d43e72db4f7c8b47d91d99ed54ce30e9ee898de1) Signed-off-by: Steve Sakoman <steve@sakoman.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake/lib/bblayers')
-rw-r--r--bitbake/lib/bblayers/query.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/bitbake/lib/bblayers/query.py b/bitbake/lib/bblayers/query.py
index e2cc310532..fb6f550ec2 100644
--- a/bitbake/lib/bblayers/query.py
+++ b/bitbake/lib/bblayers/query.py
@@ -150,7 +150,7 @@ skipped recipes will also be listed, with a " (skipped)" suffix.
150 def print_item(f, pn, ver, layer, ispref): 150 def print_item(f, pn, ver, layer, ispref):
151 if not selected_layer or layer == selected_layer: 151 if not selected_layer or layer == selected_layer:
152 if not bare and f in skiplist: 152 if not bare and f in skiplist:
153 skipped = ' (skipped)' 153 skipped = ' (skipped: %s)' % self.tinfoil.cooker.skiplist[f].skipreason
154 else: 154 else:
155 skipped = '' 155 skipped = ''
156 if show_filenames: 156 if show_filenames: