]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/commitdiff
bitbake-layers: Fixup after recent server changes
authorRichard Purdie <richard.purdie@linuxfoundation.org>
Wed, 8 Jun 2011 16:25:41 +0000 (17:25 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Wed, 8 Jun 2011 19:38:23 +0000 (20:38 +0100)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
bitbake/bin/bitbake-layers

index b6106cd07587ac5a0979c4e3e8d36fcf59393d3d..d2ed5d49ca998b0fe726564537bc308410d117b3 100755 (executable)
@@ -19,7 +19,6 @@ import bb.cache
 import bb.cooker
 import bb.providers
 from bb.cooker import state
-from bb.server import none
 
 
 logger = logging.getLogger('BitBake')
@@ -45,11 +44,14 @@ class Commands(cmd.Cmd):
         self.returncode = 0
         self.config = Config(parse_only=True)
         self.cooker = bb.cooker.BBCooker(self.config,
-                                         bb.server.none)
+                                         self.register_idle_function)
         self.config_data = self.cooker.configuration.data
         bb.providers.logger.setLevel(logging.ERROR)
         self.prepare_cooker()
 
+    def register_idle_function(self, function, data):
+        pass
+
     def prepare_cooker(self):
         sys.stderr.write("Parsing recipes..")
         logger.setLevel(logging.ERROR)