[bitbake-devel] [PATCH] bitbake: btibake server must reparse the conf between builds

Alex Damian alex.r.damian at gmail.com
Fri Nov 29 14:29:23 UTC 2013


Apart from the misspell in the subject, I really like this patch :).

Very creative, simple, straight to the point :)

Alex


On Fri, Nov 29, 2013 at 11:31 AM, Cristiana Voicu <cristiana.voicu at intel.com
> wrote:

> When the UI event handlers are registered, the cooker reset is
> triggered. In this way it doesn't affect the cooker state.
>
> [YOCTO #5535]
> Signed-off-by: Cristiana Voicu <cristiana.voicu at intel.com>
> ---
>  bitbake/lib/bb/server/xmlrpc.py |    5 +++--
>  1 file changed, 3 insertions(+), 2 deletions(-)
>
> diff --git a/bitbake/lib/bb/server/xmlrpc.py
> b/bitbake/lib/bb/server/xmlrpc.py
> index 82c0e8d..fb7a8b4 100644
> --- a/bitbake/lib/bb/server/xmlrpc.py
> +++ b/bitbake/lib/bb/server/xmlrpc.py
> @@ -103,8 +103,9 @@ class BitBakeServerCommands():
>          for f in featureset:
>              self.cooker.featureset.setFeature(f)
>
> -        if (original_featureset != list(self.cooker.featureset)):
> -            self.cooker.reset()
> +        #always reset the cooker when a remote UI Event Handler is
> registered,
> +        #in order to reparse the configuration files
> +        self.cooker.reset()
>
>          self.event_handle = bb.event.register_UIHhandler(s)
>          return self.event_handle
> --
> 1.7.9.5
>
> _______________________________________________
> bitbake-devel mailing list
> bitbake-devel at lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/bitbake-devel
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openembedded.org/pipermail/bitbake-devel/attachments/20131129/c4362af0/attachment-0002.html>


More information about the bitbake-devel mailing list