cooker: delVar in removeConfigurationVar
PATCH 1/2 cooker: delVar in removeConfigurationVar
When a variable was removed from a configuration file it was not removed from memory. This also had the effect of not allowing to set a new value for the same variable with saveConfigurationVar.
Signed-off-by Marius Avram <[email protected]>
--- bitbake/lib/bb/cooker.py | 2 ++ 1 file changed, 2 insertions(+)
bitbake/lib/bb/cooker.py +2 -0
@@ -334,6 +334,8 @@ class BBCooker: contents[begin_line] = "\n" #remove var from history self.data.varhistory.del_var_history(var, conf_file, line) + #remove variable + self.data.delVar(var) with open(conf_file, 'w') as f: f.writelines(contents)
Signature · 1 line
1.7.9.5