]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/commit
cooker: preserve pre and post configs
authorEd Bartosh <ed.bartosh@linux.intel.com>
Fri, 16 Oct 2015 16:23:58 +0000 (19:23 +0300)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Tue, 27 Oct 2015 07:23:21 +0000 (07:23 +0000)
commit02c64f7487ca8ec5d32c440f5002c4b8f64b76a6
treedd5a0cced2fd9d540b20edd62b765906625e0edc
parent7b3ed62800cb7352154897c1c5ad2440a54df198
cooker: preserve pre and post configs

Additional config files passed to bitbake server with --read and
--postread options are rewritten by client bitbake even if
it doesn't use those options.

This is a show stopper for toaster as toaster command line
builds are based on the assumption that server is aware of
toster configs, provided by --postread option.

This behaviour is fixed by preserving values of --read and
--postread options when bitbake server starts and restoring
them if client bitbake doesn't explicitly specify them.

Signed-off-by: Ed Bartosh <ed.bartosh@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
lib/bb/cooker.py
lib/bb/cookerdata.py
lib/bb/main.py