summaryrefslogtreecommitdiffstats
path: root/bitbake/lib/bb
diff options
context:
space:
mode:
Diffstat (limited to 'bitbake/lib/bb')
-rw-r--r--bitbake/lib/bb/command.py3
-rw-r--r--bitbake/lib/bb/cooker.py2
2 files changed, 5 insertions, 0 deletions
diff --git a/bitbake/lib/bb/command.py b/bitbake/lib/bb/command.py
index 0d0354c30f..6c966e3dbc 100644
--- a/bitbake/lib/bb/command.py
+++ b/bitbake/lib/bb/command.py
@@ -145,6 +145,9 @@ class Command:
145 self.currentAsyncCommand = None 145 self.currentAsyncCommand = None
146 self.cooker.finishcommand() 146 self.cooker.finishcommand()
147 147
148 def reset(self):
149 self.remotedatastores = bb.remotedata.RemoteDatastores(self.cooker)
150
148def split_mc_pn(pn): 151def split_mc_pn(pn):
149 if pn.startswith("multiconfig:"): 152 if pn.startswith("multiconfig:"):
150 _, mc, pn = pn.split(":", 2) 153 _, mc, pn = pn.split(":", 2)
diff --git a/bitbake/lib/bb/cooker.py b/bitbake/lib/bb/cooker.py
index 90de40d649..7d040dcd88 100644
--- a/bitbake/lib/bb/cooker.py
+++ b/bitbake/lib/bb/cooker.py
@@ -1616,6 +1616,8 @@ class BBCooker:
1616 def clientComplete(self): 1616 def clientComplete(self):
1617 """Called when the client is done using the server""" 1617 """Called when the client is done using the server"""
1618 self.finishcommand() 1618 self.finishcommand()
1619 self.extraconfigdata = {}
1620 self.command.reset()
1619 self.databuilder.reset() 1621 self.databuilder.reset()
1620 self.data = self.databuilder.data 1622 self.data = self.databuilder.data
1621 1623