summaryrefslogtreecommitdiffstats
path: root/lib/bb/cooker.py
diff options
context:
space:
mode:
authorCristiana Voicu <cristiana.voicu@intel.com>2013-09-02 14:18:25 +0300
committerRichard Purdie <richard.purdie@linuxfoundation.org>2013-09-02 12:24:45 +0100
commitdce0f9d4afe0986e2dd0146944fc4ac9dde275e4 (patch)
treee5a108ae38a4ed83cdf1d8a52f0a25f760e749f4 /lib/bb/cooker.py
parentad7664edd40fa46e6f6fec2144403e3b6fc3a639 (diff)
downloadbitbake-dce0f9d4afe0986e2dd0146944fc4ac9dde275e4.tar.gz
bitbake/cooker: fix some calls of cookerdata.findConfigFile method
Cookerdata.findconfigFile method has a new parameter. Changed some calls. Signed-off-by: Cristiana Voicu <cristiana.voicu@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'lib/bb/cooker.py')
-rw-r--r--lib/bb/cooker.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/bb/cooker.py b/lib/bb/cooker.py
index 5a848042f..f03f16b3f 100644
--- a/lib/bb/cooker.py
+++ b/lib/bb/cooker.py
@@ -170,7 +170,7 @@ class BBCooker:
def appendConfigurationVar(self, var, val, default_file):
#add append var operation to the end of default_file
- default_file = bb.cookerdata.findConfigFile(default_file)
+ default_file = bb.cookerdata.findConfigFile(default_file, self.data)
with open(default_file, 'r') as f:
contents = f.readlines()
@@ -252,7 +252,7 @@ class BBCooker:
self.data.varhistory.del_var_history(var)
#add var to the end of default_file
- default_file = bb.cookerdata.findConfigFile(default_file)
+ default_file = bb.cookerdata.findConfigFile(default_file, self.data)
with open(default_file, 'r') as f:
contents = f.readlines()
@@ -697,7 +697,7 @@ class BBCooker:
Find the location on disk of configfile and if it exists and was parsed by BitBake
emit the ConfigFilePathFound event with the path to the file.
"""
- path = bb.cookerdata.findConfigFile(configfile)
+ path = bb.cookerdata.findConfigFile(configfile, self.data)
if not path:
return