[bitbake-devel] [PATCH 1/2] toaster: buildinfohelper associate build data with built_recipe
Elliot Smith
elliot.smith at intel.com
Wed Oct 7 13:55:07 UTC 2015
From: Michael Wood <michael.g.wood at intel.com>
Make sure we associate build data with the built recipe rather than
toaster's configuration copy of the recipe.
Signed-off-by: Michael Wood <michael.g.wood at intel.com>
Signed-off-by: Elliot Smith <elliot.smith at intel.com>
---
lib/bb/ui/buildinfohelper.py | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/lib/bb/ui/buildinfohelper.py b/lib/bb/ui/buildinfohelper.py
index 793418a..9195584 100644
--- a/lib/bb/ui/buildinfohelper.py
+++ b/lib/bb/ui/buildinfohelper.py
@@ -285,6 +285,7 @@ class ORMWrapper(object):
update_recipe_obj(recipe)
+ built_recipe = None
# Create a copy of the recipe for historical puposes and update it
for built_layer in self.layer_version_built:
if built_layer.layer == recipe_information['layer_version'].layer:
@@ -300,7 +301,7 @@ class ORMWrapper(object):
if created and must_exist:
raise NotExisting("Recipe object created when expected to exist", recipe_information)
- return recipe
+ return built_recipe
def get_update_layer_version_object(self, build_obj, layer_obj, layer_version_information):
if isinstance(layer_obj, Layer_Version):
--
1.9.3
---------------------------------------------------------------------
Intel Corporation (UK) Limited
Registered No. 1134945 (England)
Registered Office: Pipers Way, Swindon SN3 1RJ
VAT No: 860 2173 47
This e-mail and any attachments may contain confidential material for
the sole use of the intended recipient(s). Any review or distribution
by others is strictly prohibited. If you are not the intended
recipient, please contact the sender and delete all copies.
More information about the bitbake-devel
mailing list