[Toaster] [PATCH 1/2] toaster: buildinfohelper associate build data with built_recipe
Smith, Elliot
elliot.smith at intel.com
Wed Oct 7 03:01:51 PDT 2015
On 6 October 2015 at 19:03, Michael Wood <michael.g.wood at intel.com> wrote:
> Make sure we associate build data with the built recipe rather than
> toaster's configuration copy of the recipe.
>
What difference does this make to Toaster's behaviour? (I'm just asking so
I can check the patch.)
Thanks.
Elliot
>
> Signed-off-by: Michael Wood <michael.g.wood at intel.com>
> ---
> bitbake/lib/bb/ui/buildinfohelper.py | 3 ++-
> 1 file changed, 2 insertions(+), 1 deletion(-)
>
> diff --git a/bitbake/lib/bb/ui/buildinfohelper.py
> b/bitbake/lib/bb/ui/buildinfohelper.py
> index 793418a..9195584 100644
> --- a/bitbake/lib/bb/ui/buildinfohelper.py
> +++ b/bitbake/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):
> --
> 2.1.4
>
> --
> _______________________________________________
> toaster mailing list
> toaster at yoctoproject.org
> https://lists.yoctoproject.org/listinfo/toaster
>
--
Elliot Smith
Software Engineer
Intel Open Source Technology Centre
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.yoctoproject.org/pipermail/toaster/attachments/20151007/cb522028/attachment.html>
More information about the toaster
mailing list