[oe-commits] [bitbake] 02/02: bblayers: Don't parse all recipes when calling add-layer
git at git.openembedded.org
git at git.openembedded.org
Wed Aug 1 09:08:16 UTC 2018
This is an automated email from the git hooks/post-receive script.
rpurdie pushed a commit to branch master
in repository bitbake.
commit cfd1302031f3cca96300a0e445a47b1614ecd00c
Author: Richard Purdie <richard.purdie at linuxfoundation.org>
AuthorDate: Tue Jul 31 12:43:54 2018 +0000
bblayers: Don't parse all recipes when calling add-layer
When adding multiple layers in a chain of commands, reparsing all recipes
each time can be painfully slow. Instead just parse the base configuration
which gives some confidence things worked out correctly without as much
overhead.
Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>
---
lib/bblayers/action.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lib/bblayers/action.py b/lib/bblayers/action.py
index aa575d1..a3f658f 100644
--- a/lib/bblayers/action.py
+++ b/lib/bblayers/action.py
@@ -45,7 +45,7 @@ class ActionPlugin(LayerPlugin):
notadded, _ = bb.utils.edit_bblayers_conf(bblayers_conf, layerdirs, None)
if not (args.force or notadded):
try:
- self.tinfoil.parseRecipes()
+ self.tinfoil.run_command('parseConfiguration')
except bb.tinfoil.TinfoilUIException:
# Restore the back up copy of bblayers.conf
shutil.copy2(backup, bblayers_conf)
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
More information about the Openembedded-commits
mailing list