diff options
-rwxr-xr-x | bitbake/bin/bitbake-layers | 6 |
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 | |||
19 | import bb.cooker | 19 | import bb.cooker |
20 | import bb.providers | 20 | import bb.providers |
21 | from bb.cooker import state | 21 | from bb.cooker import state |
22 | from bb.server import none | ||
23 | 22 | ||
24 | 23 | ||
25 | logger = logging.getLogger('BitBake') | 24 | logger = 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) |