[oe-commits] [bitbake] 09/18: tinfoil: set a flag when recipes have been parsed

git at git.openembedded.org git at git.openembedded.org
Tue Jul 18 21:40:23 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 21e71995d559c16fa9c6789e9a30f607079ee98a
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