diff options
| author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2011-06-08 17:25:41 +0100 |
|---|---|---|
| committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2011-06-08 20:38:23 +0100 |
| commit | a702c3dbf5fdc88eefdadd1f6c4cd6e04811c1e1 (patch) | |
| tree | 4c8de669643d1a32aae7b5451f8dff9b331be96c /bitbake/bin | |
| parent | d276be69d2034f5d86e6f5d0d29fcfac2f220fc2 (diff) | |
| download | poky-a702c3dbf5fdc88eefdadd1f6c4cd6e04811c1e1.tar.gz | |
bitbake-layers: Fixup after recent server changes
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake/bin')
| -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) |
