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 | ast2050-yocto-poky-a702c3dbf5fdc88eefdadd1f6c4cd6e04811c1e1.zip ast2050-yocto-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 b6106cd..d2ed5d4 100755 --- a/bitbake/bin/bitbake-layers +++ b/bitbake/bin/bitbake-layers @@ -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) |