summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2011-06-08 17:25:41 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2011-06-08 20:38:23 +0100
commita702c3dbf5fdc88eefdadd1f6c4cd6e04811c1e1 (patch)
tree4c8de669643d1a32aae7b5451f8dff9b331be96c
parentd276be69d2034f5d86e6f5d0d29fcfac2f220fc2 (diff)
downloadpoky-a702c3dbf5fdc88eefdadd1f6c4cd6e04811c1e1.tar.gz
bitbake-layers: Fixup after recent server changes
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rwxr-xr-xbitbake/bin/bitbake-layers6
1 files changed, 4 insertions, 2 deletions
diff --git a/bitbake/bin/bitbake-layers b/bitbake/bin/bitbake-layers
index b6106cd075..d2ed5d49ca 100755
--- a/bitbake/bin/bitbake-layers
+++ b/bitbake/bin/bitbake-layers
@@ -19,7 +19,6 @@ import bb.cache
19import bb.cooker 19import bb.cooker
20import bb.providers 20import bb.providers
21from bb.cooker import state 21from bb.cooker import state
22from bb.server import none
23 22
24 23
25logger = logging.getLogger('BitBake') 24logger = logging.getLogger('BitBake')
@@ -45,11 +44,14 @@ class Commands(cmd.Cmd):
45 self.returncode = 0 44 self.returncode = 0
46 self.config = Config(parse_only=True) 45 self.config = Config(parse_only=True)
47 self.cooker = bb.cooker.BBCooker(self.config, 46 self.cooker = bb.cooker.BBCooker(self.config,
48 bb.server.none) 47 self.register_idle_function)
49 self.config_data = self.cooker.configuration.data 48 self.config_data = self.cooker.configuration.data
50 bb.providers.logger.setLevel(logging.ERROR) 49 bb.providers.logger.setLevel(logging.ERROR)
51 self.prepare_cooker() 50 self.prepare_cooker()
52 51
52 def register_idle_function(self, function, data):
53 pass
54
53 def prepare_cooker(self): 55 def prepare_cooker(self):
54 sys.stderr.write("Parsing recipes..") 56 sys.stderr.write("Parsing recipes..")
55 logger.setLevel(logging.ERROR) 57 logger.setLevel(logging.ERROR)