From 14d09c8b22a65b7e5740719351d0e8de561d8865 Mon Sep 17 00:00:00 2001 From: Michael Wood Date: Wed, 21 Oct 2015 14:16:45 +0100 Subject: bitbake: toaster: localhostbecontroller CustomRecipe now base_recipe is Recipe Update the reference to the base_recipe. It is now a Recipe object rather than an intermediate AvailableRecipe object. Therefore doesn't need an extra traverse down the object hierarchy. (Bitbake rev: 8056ec65bd93005ecb7b0ed12dcb21b3b60df22c) Signed-off-by: Michael Wood Signed-off-by: brian avery Signed-off-by: Richard Purdie --- bitbake/lib/toaster/bldcontrol/localhostbecontroller.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bitbake/lib/toaster/bldcontrol/localhostbecontroller.py b/bitbake/lib/toaster/bldcontrol/localhostbecontroller.py index 2215d7af24..2dd48d454a 100644 --- a/bitbake/lib/toaster/bldcontrol/localhostbecontroller.py +++ b/bitbake/lib/toaster/bldcontrol/localhostbecontroller.py @@ -242,7 +242,7 @@ class LocalhostBEController(BuildEnvironmentController): # create recipe recipe = os.path.join(layerpath, "recipes", "%s.bb" % target.target) with open(recipe, "w") as recipef: - recipef.write("require %s\n" % customrecipe.base_recipe.recipe.file_path) + recipef.write("require %s\n" % customrecipe.base_recipe.file_path) packages = [pkg.name for pkg in customrecipe.packages.all()] if packages: recipef.write('IMAGE_INSTALL = "%s"\n' % ' '.join(packages)) -- cgit v1.2.3-54-g00ecf