summaryrefslogtreecommitdiffstats
path: root/bitbake/bin/bitbake-layers
diff options
context:
space:
mode:
Diffstat (limited to 'bitbake/bin/bitbake-layers')
-rwxr-xr-xbitbake/bin/bitbake-layers7
1 files changed, 4 insertions, 3 deletions
diff --git a/bitbake/bin/bitbake-layers b/bitbake/bin/bitbake-layers
index 3d563b5fca..d9f95d1e01 100755
--- a/bitbake/bin/bitbake-layers
+++ b/bitbake/bin/bitbake-layers
@@ -8,7 +8,7 @@
8 8
9import cmd 9import cmd
10import logging 10import logging
11import os.path 11import os
12import sys 12import sys
13 13
14bindir = os.path.dirname(__file__) 14bindir = os.path.dirname(__file__)
@@ -41,11 +41,12 @@ def main(args):
41class Commands(cmd.Cmd): 41class Commands(cmd.Cmd):
42 def __init__(self): 42 def __init__(self):
43 cmd.Cmd.__init__(self) 43 cmd.Cmd.__init__(self)
44 44 initialenv = os.environ.copy()
45 self.returncode = 0 45 self.returncode = 0
46 self.config = Config(parse_only=True) 46 self.config = Config(parse_only=True)
47 self.cooker = bb.cooker.BBCooker(self.config, 47 self.cooker = bb.cooker.BBCooker(self.config,
48 self.register_idle_function) 48 self.register_idle_function,
49 initialenv)
49 self.config_data = self.cooker.configuration.data 50 self.config_data = self.cooker.configuration.data
50 bb.providers.logger.setLevel(logging.ERROR) 51 bb.providers.logger.setLevel(logging.ERROR)
51 self.cooker_data = None 52 self.cooker_data = None