diff options
author | Marco Felsch <m.felsch@pengutronix.de> | 2021-08-17 10:25:33 +0200 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2021-08-23 08:30:16 +0100 |
commit | d43e72db4f7c8b47d91d99ed54ce30e9ee898de1 (patch) | |
tree | 37152a35156cbfa4278be54ab1c3662f0a312342 /lib | |
parent | a0248338452f9ec26b588ef83679aca6263e7e76 (diff) | |
download | bitbake-d43e72db4f7c8b47d91d99ed54ce30e9ee898de1.tar.gz |
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)
Signed-off-by: Marco Felsch <m.felsch@pengutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'lib')
-rw-r--r-- | lib/bblayers/query.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/bblayers/query.py b/lib/bblayers/query.py index 947422a72..6e94c8307 100644 --- a/lib/bblayers/query.py +++ b/lib/bblayers/query.py @@ -154,7 +154,7 @@ skipped recipes will also be listed, with a " (skipped)" suffix. def print_item(f, pn, ver, layer, ispref): if not selected_layer or layer == selected_layer: if not bare and f in skiplist: - skipped = ' (skipped)' + skipped = ' (skipped: %s)' % self.tinfoil.cooker.skiplist[f].skipreason else: skipped = '' if show_filenames: |