]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/commitdiff
bitbake-layers: show-layers: disable parsing
authorPaul Eggleton <paul.eggleton@linux.intel.com>
Mon, 30 May 2016 23:16:58 +0000 (11:16 +1200)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 2 Jun 2016 21:10:28 +0000 (22:10 +0100)
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@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
lib/bblayers/query.py

index b8c817b124d92ed4bac1f41e0978dec8ab011da5..0a496810f2273b56fc5e64d40ca67a7dc5195a17 100644 (file)
@@ -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')