From a5f1b44310aac727e9bef3a1014e32da7b104c7d Mon Sep 17 00:00:00 2001 From: Chen Qi Date: Thu, 24 Nov 2022 01:10:45 -0800 Subject: [PATCH] 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 Signed-off-by: Alexandre Belloni Signed-off-by: Richard Purdie --- bitbake/lib/bb/command.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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: 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)