summaryrefslogtreecommitdiffstats
path: root/bitbake
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-08-23 08:30:54 +0100
commitf113446f417711e652a01907ba14fc513861131e (patch)
tree8339d7065866aa7eaa13c58f39ae4d851253deab /bitbake
parent46a8566183b180422810418a11112c7694d74bdb (diff)
downloadpoky-f113446f417711e652a01907ba14fc513861131e.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: d43e72db4f7c8b47d91d99ed54ce30e9ee898de1) Signed-off-by: Marco Felsch <m.felsch@pengutronix.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake')
-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 947422a72f..6e94c83076 100644
--- a/bitbake/lib/bblayers/query.py
+++ b/bitbake/lib/bblayers/query.py
@@ -154,7 +154,7 @@ skipped recipes will also be listed, with a " (skipped)" suffix.
154 def print_item(f, pn, ver, layer, ispref): 154 def print_item(f, pn, ver, layer, ispref):
155 if not selected_layer or layer == selected_layer: 155 if not selected_layer or layer == selected_layer:
156 if not bare and f in skiplist: 156 if not bare and f in skiplist:
157 skipped = ' (skipped)' 157 skipped = ' (skipped: %s)' % self.tinfoil.cooker.skiplist[f].skipreason
158 else: 158 else:
159 skipped = '' 159 skipped = ''
160 if show_filenames: 160 if show_filenames: