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>
This commit is contained in:
Chen Qi
2022-11-24 01:10:45 -08:00
committed by Richard Purdie
parent b5596124ee
commit a5f1b44310

View File

@@ -564,7 +564,7 @@ class CommandsSync:
if config_data:
# We have to use a different function here if we're passing in a datastore
# NOTE: we took a copy above, so we don't do it here again
envdata = bb.cache.parse_recipe(config_data, fn, appendfiles, mc)['']
envdata = command.cooker.databuilder._parse_recipe(config_data, fn, appendfiles, mc)['']
else:
# Use the standard path
envdata = command.cooker.databuilder.parseRecipe(fn, appendfiles)