diff options
author | Marco Felsch <m.felsch@pengutronix.de> | 2021-08-17 10:25:33 +0200 |
---|---|---|
committer | Steve Sakoman <steve@sakoman.com> | 2021-09-24 12:38:18 -1000 |
commit | 253aa584b04f4e5c6e7b16904a9e242a4f5cbd35 (patch) | |
tree | f2e805b735667cb04a8d76936cb904ad9801bc35 | |
parent | 6737fba707917db16e317bb738c47c096454f816 (diff) | |
download | bitbake-253aa584b04f4e5c6e7b16904a9e242a4f5cbd35.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>
(cherry picked from commit d43e72db4f7c8b47d91d99ed54ce30e9ee898de1)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
-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 e2cc31053..fb6f550ec 100644 --- a/lib/bblayers/query.py +++ b/lib/bblayers/query.py @@ -150,7 +150,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: |