summaryrefslogtreecommitdiffstats
path: root/bitbake/lib/toaster/bldcontrol
diff options
context:
space:
mode:
authorMichael Wood <michael.g.wood@intel.com>2015-10-21 14:16:45 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2016-02-10 13:29:16 +0000
commit14d09c8b22a65b7e5740719351d0e8de561d8865 (patch)
tree932453f8b8aeb88bf804af2da73d012b62c722e9 /bitbake/lib/toaster/bldcontrol
parent7d5d8d0cd985edf507c8d00e2e162d1b9fff3589 (diff)
downloadpoky-14d09c8b22a65b7e5740719351d0e8de561d8865.tar.gz
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 <michael.g.wood@intel.com> Signed-off-by: brian avery <avery.brian@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake/lib/toaster/bldcontrol')
-rw-r--r--bitbake/lib/toaster/bldcontrol/localhostbecontroller.py2
1 files changed, 1 insertions, 1 deletions
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):
242 # create recipe 242 # create recipe
243 recipe = os.path.join(layerpath, "recipes", "%s.bb" % target.target) 243 recipe = os.path.join(layerpath, "recipes", "%s.bb" % target.target)
244 with open(recipe, "w") as recipef: 244 with open(recipe, "w") as recipef:
245 recipef.write("require %s\n" % customrecipe.base_recipe.recipe.file_path) 245 recipef.write("require %s\n" % customrecipe.base_recipe.file_path)
246 packages = [pkg.name for pkg in customrecipe.packages.all()] 246 packages = [pkg.name for pkg in customrecipe.packages.all()]
247 if packages: 247 if packages:
248 recipef.write('IMAGE_INSTALL = "%s"\n' % ' '.join(packages)) 248 recipef.write('IMAGE_INSTALL = "%s"\n' % ' '.join(packages))