summaryrefslogtreecommitdiffstats
path: root/meta/recipes-extended/which
diff options
context:
space:
mode:
authorMarius Avram <marius.avram@intel.com>2014-03-25 15:02:35 +0200
committerRichard Purdie <richard.purdie@linuxfoundation.org>2014-03-25 13:26:55 +0000
commit41ed4123a687f77a2042cf50d89652639075f869 (patch)
tree9b935cfcc7ee24974bc5b731eaa94423498e9e3b /meta/recipes-extended/which
parent22af8031cdb3090330c5c4c965855963e24a3ba2 (diff)
downloadpoky-41ed4123a687f77a2042cf50d89652639075f869.tar.gz
bitbake: hob: fix set_extra_setting function
The function is used to save additional variables in the configuration file when the user adds a new (key, value) pair from the Settings->Others. There was a problem though when the function was trying to retrieve an older instance of EXTRA_SETTINGS from the configuration file. Sometimes its value was returned as a dictionary and sometimes a string, which caused a crash when calling ast.literal_eval(). The reason of the problem must be a change in bitbake's parsing system. The changes will fix this issues. While analysing this problem I discovered that the variables were not saved properly in the configuration file after consecutive changes to Settings->Others because of the way saveConfigurationVar() from cooker.py works. This patch will also solve this issue. [YOCTO #5989] (Bitbake rev: bdbcd8866104c315fc9da631407d4280433dbfde) Signed-off-by: Marius Avram <marius.avram@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-extended/which')
0 files changed, 0 insertions, 0 deletions