[oe-commits] [bitbake] 05/18: tinfoil: set a flag when recipes have been parsed
git at git.openembedded.org
git at git.openembedded.org
Wed Jul 19 09:43:19 UTC 2017
This is an automated email from the git hooks/post-receive script.
rpurdie pushed a commit to branch master-next
in repository bitbake.
commit b5ea0571677457ff9aaece4bc37bf5f99d88de41
Author: Paul Eggleton <paul.eggleton at linux.intel.com>
AuthorDate: Wed May 17 17:13:07 2017 +1200
tinfoil: set a flag when recipes have been parsed
Make it easy to determine if recipes are parsed (and thus information
about available recipes is in memory).
Signed-off-by: Paul Eggleton <paul.eggleton at linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>
---
lib/bb/tinfoil.py | 3 +++
1 file changed, 3 insertions(+)
diff --git a/lib/bb/tinfoil.py b/lib/bb/tinfoil.py
index ddc7b06..f31d7b2 100644
--- a/lib/bb/tinfoil.py
+++ b/lib/bb/tinfoil.py
@@ -217,6 +217,7 @@ class Tinfoil:
self.tracking = tracking
self.ui_module = None
self.server_connection = None
+ self.recipes_parsed = False
if setup_logging:
# This is the *client-side* logger, nothing to do with
# logging messages from the server
@@ -270,6 +271,7 @@ class Tinfoil:
self.run_command('parseConfiguration')
else:
self.run_actions(config_params)
+ self.recipes_parsed = True
self.config_data = bb.data.init()
connector = TinfoilDataStoreConnector(self, None)
@@ -303,6 +305,7 @@ class Tinfoil:
"""
config_params = TinfoilConfigParameters(config_only=False)
self.run_actions(config_params)
+ self.recipes_parsed = True
def run_command(self, command, *params):
"""
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
More information about the Openembedded-commits
mailing list