summaryrefslogtreecommitdiffstats
path: root/bitbake
diff options
context:
space:
mode:
authorPaul Eggleton <paul.eggleton@linux.intel.com>2017-07-19 11:56:02 +0200
committerRichard Purdie <richard.purdie@linuxfoundation.org>2017-07-21 08:41:12 +0100
commiteb7401d47087ba2347dcf780a0d07969bed4c072 (patch)
tree1f887854d6b4c4e564578e2ac2c3787a379971c5 /bitbake
parentb0f0eaf63cc61b855563209b08208d2dcf41dfd3 (diff)
downloadpoky-eb7401d47087ba2347dcf780a0d07969bed4c072.tar.gz
bitbake: 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). (Bitbake rev: 7efde2df2ff25063d36ac015146f1975284a69ff) Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake')
-rw-r--r--bitbake/lib/bb/tinfoil.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/bitbake/lib/bb/tinfoil.py b/bitbake/lib/bb/tinfoil.py
index ddc7b062a0..f31d7b2dee 100644
--- a/bitbake/lib/bb/tinfoil.py
+++ b/bitbake/lib/bb/tinfoil.py
@@ -217,6 +217,7 @@ class Tinfoil:
217 self.tracking = tracking 217 self.tracking = tracking
218 self.ui_module = None 218 self.ui_module = None
219 self.server_connection = None 219 self.server_connection = None
220 self.recipes_parsed = False
220 if setup_logging: 221 if setup_logging:
221 # This is the *client-side* logger, nothing to do with 222 # This is the *client-side* logger, nothing to do with
222 # logging messages from the server 223 # logging messages from the server
@@ -270,6 +271,7 @@ class Tinfoil:
270 self.run_command('parseConfiguration') 271 self.run_command('parseConfiguration')
271 else: 272 else:
272 self.run_actions(config_params) 273 self.run_actions(config_params)
274 self.recipes_parsed = True
273 275
274 self.config_data = bb.data.init() 276 self.config_data = bb.data.init()
275 connector = TinfoilDataStoreConnector(self, None) 277 connector = TinfoilDataStoreConnector(self, None)
@@ -303,6 +305,7 @@ class Tinfoil:
303 """ 305 """
304 config_params = TinfoilConfigParameters(config_only=False) 306 config_params = TinfoilConfigParameters(config_only=False)
305 self.run_actions(config_params) 307 self.run_actions(config_params)
308 self.recipes_parsed = True
306 309
307 def run_command(self, command, *params): 310 def run_command(self, command, *params):
308 """ 311 """