[bitbake-devel] [PATCH 1/1] bitbake-layers: show-layers: disable parsing

Paul Eggleton paul.eggleton at linux.intel.com
Mon May 30 23:16:58 UTC 2016


We don't need to parse all recipes just to show the list of layers,
since that comes straight from the configuration, so save a bit of time
by not doing so. (A minor regression that came in with the the
bitbake-layers refactoring).

Signed-off-by: Paul Eggleton <paul.eggleton at linux.intel.com>
---
 lib/bblayers/query.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/bblayers/query.py b/lib/bblayers/query.py
index b5b98f7..91c98c6 100644
--- a/lib/bblayers/query.py
+++ b/lib/bblayers/query.py
@@ -481,7 +481,7 @@ NOTE: .bbappend files can impact the dependencies.
             logger.plain("%s %s %s" % (f, keyword, best_realfn))
 
     def register_commands(self, sp):
-        self.add_command(sp, 'show-layers', self.do_show_layers)
+        self.add_command(sp, 'show-layers', self.do_show_layers, parserecipes=False)
 
         parser_show_overlayed = self.add_command(sp, 'show-overlayed', self.do_show_overlayed)
         parser_show_overlayed.add_argument('-f', '--filenames', help='instead of the default formatting, list filenames of higher priority recipes with the ones they overlay indented underneath', action='store_true')
-- 
2.5.5




More information about the bitbake-devel mailing list