summaryrefslogtreecommitdiffstats
path: root/bitbake/lib/bb/command.py
diff options
context:
space:
mode:
Diffstat (limited to 'bitbake/lib/bb/command.py')
-rw-r--r--bitbake/lib/bb/command.py8
1 files changed, 8 insertions, 0 deletions
diff --git a/bitbake/lib/bb/command.py b/bitbake/lib/bb/command.py
index 695277f1e0..a634276608 100644
--- a/bitbake/lib/bb/command.py
+++ b/bitbake/lib/bb/command.py
@@ -24,6 +24,7 @@ import io
24import bb.event 24import bb.event
25import bb.cooker 25import bb.cooker
26import bb.remotedata 26import bb.remotedata
27import bb.parse
27 28
28class DataStoreConnectionHandle(object): 29class DataStoreConnectionHandle(object):
29 def __init__(self, dsindex=0): 30 def __init__(self, dsindex=0):
@@ -582,6 +583,13 @@ class CommandsSync:
582 return DataStoreConnectionHandle(idx) 583 return DataStoreConnectionHandle(idx)
583 parseRecipeFile.readonly = True 584 parseRecipeFile.readonly = True
584 585
586 def finalizeData(self, command, params):
587 newdata = command.cooker.data.createCopy()
588 bb.data.expandKeys(newdata)
589 bb.parse.ast.runAnonFuncs(newdata)
590 idx = command.remotedatastores.store(newdata)
591 return DataStoreConnectionHandle(idx)
592
585class CommandsAsync: 593class CommandsAsync:
586 """ 594 """
587 A class of asynchronous commands 595 A class of asynchronous commands