Skip to contentSkip to conversation

Minor fix for bitbake-layers

PATCH New Paul Eggleton 1 participant 2 messages May 30, 2016

lore
Share & tools
lore
#0 lore raw

cover Minor fix for bitbake-layers

The following changes since commit d830dccf948d188492cecfcf2ff053f31740dc21:

classes/base.bbclass: Fix missing getVarFlag parameter (2016-05-24 15:55:01 +0100)

are available in the git repository at:

git://git.yoctoproject.org/poky-contrib paule/bb-bitbake-layers-fix
http://git.yoctoproject.org/cgit.cgi/poky-contrib/log/?h=paule/bb-bitbake-layers-fix

Paul Eggleton (1):
bitbake-layers: show-layers: disable parsing

 lib/bblayers/query.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
Signature · 1 line
2.5.5
#1 lore raw

PATCH 1/1 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).

---
 lib/bblayers/query.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
lib/bblayers/query.py +1 -1
index b5b98f7..91c98c6 100644
@@ -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')
Signature · 1 line
2.5.5