aboutsummaryrefslogtreecommitdiffstats
path: root/lib/bb/server/process.py
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2022-12-21 20:32:02 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2022-12-30 21:39:14 +0000
commit5f8b9b9c35b4ec0c8c539bf54ca85f068f4a5094 (patch)
tree5027de0b7465683f914af2ca01d0da8b60f45413 /lib/bb/server/process.py
parent8c36c90afc392980d999a981a924dc7d22e2766e (diff)
downloadbitbake-5f8b9b9c35b4ec0c8c539bf54ca85f068f4a5094.tar.gz
cooker/cookerdata: Rework the way the datastores are reset
As far as I could tell, the current code could result in some strange situations where some data was set back to the original data store copy but the multiconfig data was not restored. There are also some changes made to the datastore which did not persist. The data store was also being reset at every client reset, which seems a little excessive if we can reset it to the original condition properly. Move the __depends -> __base_depends rename into databuilder along with the __bbclasstype change so these are saved in the original data. Tweak the databuilder code to be clearer and easier to follow on which copies are where, then save copies of all the mc datastores. Finally, drop the cache invalidation upon reset for the base config as we shouldn't need that now (oe-selftest -r tinfoil works with memory resident bitbake which was the original reproducer requiring that change). Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'lib/bb/server/process.py')
0 files changed, 0 insertions, 0 deletions