aboutsummaryrefslogtreecommitdiffstats
path: root/bitbake/lib/bb/tinfoil.py
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2013-05-24 09:27:25 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2013-05-24 10:34:53 +0100
commitfa4b1fa2577fb1a8128154c2f1417df575dbb022 (patch)
treec41f59641a8e3f2239f5f449a8fd8696da1b7578 /bitbake/lib/bb/tinfoil.py
parent7cf87fc083386dc162f3573c782d77447e608a16 (diff)
downloadopenembedded-core-contrib-fa4b1fa2577fb1a8128154c2f1417df575dbb022.tar.gz
bitbake: cooker/cookerdata: Improve configuration object handling
Originally it seemed like a good idea to keep the parameters around. Having seen this in real life use, its incorrect, we should pull all the data we need into the cooker's configuguration and then use this to build the datastore. Being able to just build the datastore from the parameters seemed like a good idea but having a dummy cooker configuration object is now looking like the better option. This also fixes failures in hob since the parseFiles command can call into cooker directly now and reset the configuration prefiles and postfiles at will, rather than the indirect calls before which were breaking the datastore (e.g. BBPATH wasn't set). The cleanup this allows in tinfoil illustrates how this change makes more sense. (Bitbake rev: f50df5b891bf318f12fc61c74adfcc626cc6f836) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake/lib/bb/tinfoil.py')
-rw-r--r--bitbake/lib/bb/tinfoil.py5
1 files changed, 0 insertions, 5 deletions
diff --git a/bitbake/lib/bb/tinfoil.py b/bitbake/lib/bb/tinfoil.py
index c05e1465f1..45bac5edcb 100644
--- a/bitbake/lib/bb/tinfoil.py
+++ b/bitbake/lib/bb/tinfoil.py
@@ -90,11 +90,6 @@ class TinfoilConfigParameters(ConfigParameters):
def parseCommandLine(self):
class DummyOptions:
def __init__(self, initial_options):
- self.show_environment = False
- self.pkgs_to_build = []
- self.prefile = []
- self.postfile = []
- self.tracking = False
for key, val in initial_options.items():
setattr(self, key, val)