From a609ad7d560260a8d50dfa197cd960f496c5da73 Mon Sep 17 00:00:00 2001 From: Paul Eggleton Date: Tue, 31 May 2016 11:16:58 +1200 Subject: [PATCH] bitbake-layers: show-layers: disable parsing 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 Signed-off-by: Richard Purdie --- 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 b8c817b124d..0a496810f22 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.47.2