bitbake: bitbake-layers: add skip reason to output
PATCH 1/1 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 <[email protected]>
--- bitbake/lib/bblayers/query.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
bitbake/lib/bblayers/query.py +1 -1
@@ -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:
Signature · 1 line
2.30.2