[yocto] Y-AB automatic updates?

Joshua Lock joshua.g.lock at linux.intel.com
Tue Oct 11 07:39:08 PDT 2016


On Tue, 2016-10-11 at 11:42 +0300, gmane at reliableembeddedsystems.com
wrote:
> Hi,
> 
> With a latest and greatest Yocto Autobuilder I noticed stuff like
> this 
> when I restart it:
> 
> ---
> ...
>   Updating PRSERV
> remote: Counting objects: 20, done.
> remote: Compressing objects: 100% (20/20), done.
> remote: Total 20 (delta 17), reused 0 (delta 0)
> Unpacking objects: 100% (20/20), done.
>  From git://git.openembedded.org/bitbake
>     35927a9..d9713ed  master     -> origin/master
>     35927a9..d9713ed  1.32       -> origin/1.32
>   + 21defce...09dd499 master-next -> origin/master-next  (forced
> update)
> Updating 35927a9..d9713ed
> Fast-forward
>   bin/bitbake         |  2 +-
>   lib/bb/__init__.py  |  2 +-
>   lib/bb/ui/depexp.py | 24 ++++++++++++++++++++++++
>   3 files changed, 26 insertions(+), 2 deletions(-)
> 
> ---
> 
> This pumps e.g. the bitbake version:
> 
> Author: Richard Purdie <richard.purdie at linuxfoundation.org>
> Date:   Tue Oct 11 08:46:35 2016 +0100
> 
>      bitbake: Update version to 1.32.0
> 
> ---
> 
> Is this really intentionally and what's the purpose?

The bitbake repository is fetched by the ab-prserv script, the purpose
of which is to run a PRServer for the autobuilder.

The ab-prserv script, and the code which calls it in yocto-start-
autobuilder, won't start the script if PRSERV_HOST and PRSERV_PORT
aren't set.

If you point PRSERV_HOST and PRSERV_PORT at a non-localhost PRServer
the git repo won't be fetched/updated.

Regards,

Joshua



More information about the yocto mailing list