generic-poky/bitbake/lib/bb
Marius Avram 41ed4123a6 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>
2014-03-25 13:26:55 +00:00
..
fetch2 bitbake: fetch2.URI: Set username/password should not change the other 2014-03-24 17:54:46 +00:00
parse bitbake: ConfHandlerr: Use full path in variable history 2014-03-21 13:51:51 +00:00
pysh bitbake: pysh: Say what kind of token isn't implemented 2013-05-10 13:35:10 +01:00
server bitbake: server/process: Optimise latency when finishing idle functions 2014-03-10 11:10:02 -07:00
tests bitbake: fetch2.URI: Set username/password should not change the other 2014-03-24 17:54:46 +00:00
ui bitbake: hob: fix set_extra_setting function 2014-03-25 13:26:55 +00:00
COW.py Apply some 2to3 refactorings 2010-07-02 15:41:37 +01:00
__init__.py bitbake: Update to version 1.21.1 for master 2013-12-20 12:26:06 +00:00
build.py bitbake: toaster: measure task duration with server-side timestamps 2014-03-21 14:47:52 +00:00
cache.py bitbake: data_smart: Fix variable reference issues 2013-09-18 13:27:30 +01:00
cache_extra.py bitbake: bitbake: cooker: get extra information from recipe cache 2013-09-22 12:19:44 +01:00
checksum.py bitbake: implement checksums for local files in SRC_URI 2012-05-23 11:35:04 +01:00
codeparser.py bitbake: codeparser: Fix var_execs to append to execs, not references 2014-03-02 17:25:29 +00:00
command.py bitbake: cooker/command: Add setFeatures command 2014-03-10 11:09:59 -07:00
compat.py bitbake: compat/server/utils: Jettison pre python 2.7.3 workarounds 2013-06-14 17:26:30 +01:00
cooker.py bitbake: cooker: delVar in removeConfigurationVar 2014-03-25 13:26:54 +00:00
cookerdata.py bitbake: bitbake.lock: Add host:port to bitbake.lock for memres server 2013-12-02 17:33:14 +00:00
daemonize.py Apply some 2to3 transforms that don't cause issues in 2.6 2010-07-02 15:41:33 +01:00
data.py bitbake: data: add vardepvalueexclude varflag 2014-03-06 17:31:11 +00:00
data_smart.py bitbake: data_smart: Fix hash corruption issue 2013-12-13 12:07:48 +00:00
event.py bitbake: bitbake: event: adding generic event for metadata usage 2013-09-22 12:19:44 +01:00
exceptions.py bitbake/exceptions: Handle reports from the field of exception code failures 2012-05-25 11:15:12 +01:00
methodpool.py bitbake: methodpool: Retire it, remove global method scope 2013-05-24 10:34:52 +01:00
monitordisk.py bitbake: monitordisk: lower inode check warning to note 2013-10-18 16:02:16 +01:00
msg.py bitbake: event/msg: Add primitive server side UI log record filtering 2013-08-23 17:29:54 +01:00
namedtuple_with_abc.py bb.namedtuple_with_abc: add useful util from activestate 2011-06-08 20:38:23 +01:00
persist_data.py bitbake: persist_data: add get_by_pattern method to API 2013-01-22 15:35:06 +00:00
process.py bitbake: process: Add timeout to select call 2013-12-10 17:55:29 +00:00
providers.py bitbake: providers/runqueue/taskdata: Optimise logger.debug calls 2014-03-10 11:10:00 -07:00
runqueue.py bitbake: runqueue: Remove use of waitpid on worker processes 2014-03-19 17:46:33 +00:00
shell.py Introduce new param caches_array into Cache impl. 2011-06-07 22:39:52 +01:00
siggen.py bitbake: siggen.py: fix the SignatureGenerator() 2014-01-28 00:52:57 +00:00
taskdata.py bitbake: providers/runqueue/taskdata: Optimise logger.debug calls 2014-03-10 11:10:00 -07:00
tinfoil.py bitbake: tinfoil: fix for move of data attribute to cooker 2013-06-10 10:32:58 +01:00
utils.py bitbake: parse/ConfHander/BBHandler/utils: Fix cache dependency bugs 2013-11-30 22:26:30 +00:00