summaryrefslogtreecommitdiffstats
path: root/bitbake/lib/bb/command.py
diff options
context:
space:
mode:
authorChen Qi <Qi.Chen@windriver.com>2022-11-24 01:10:45 -0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2022-11-27 23:48:15 +0000
commita5f1b44310aac727e9bef3a1014e32da7b104c7d (patch)
tree603551f2b91705bb7dd6b189c24e1cb91079e264 /bitbake/lib/bb/command.py
parentb5596124ee7b2e0685f010de9659ed3c76f5d2b4 (diff)
downloadpoky-a5f1b44310aac727e9bef3a1014e32da7b104c7d.tar.gz
bitbake: command.py: cleanup bb.cache.parse_recipe
The parse_recipe has been removed from bb.cache, replace it with the databuilder._parse_recipe. (Bitbake rev: d386fa81848247a3d407debf889db8cbcce03359) Signed-off-by: Chen Qi <Qi.Chen@windriver.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake/lib/bb/command.py')
-rw-r--r--bitbake/lib/bb/command.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/bitbake/lib/bb/command.py b/bitbake/lib/bb/command.py
index fa9fd054c2..c9571f63d8 100644
--- a/bitbake/lib/bb/command.py
+++ b/bitbake/lib/bb/command.py
@@ -564,7 +564,7 @@ class CommandsSync:
564 if config_data: 564 if config_data:
565 # We have to use a different function here if we're passing in a datastore 565 # We have to use a different function here if we're passing in a datastore
566 # NOTE: we took a copy above, so we don't do it here again 566 # NOTE: we took a copy above, so we don't do it here again
567 envdata = bb.cache.parse_recipe(config_data, fn, appendfiles, mc)[''] 567 envdata = command.cooker.databuilder._parse_recipe(config_data, fn, appendfiles, mc)['']
568 else: 568 else:
569 # Use the standard path 569 # Use the standard path
570 envdata = command.cooker.databuilder.parseRecipe(fn, appendfiles) 570 envdata = command.cooker.databuilder.parseRecipe(fn, appendfiles)