[yocto] [PATCH 1/1] poky.conf: perform network sanity check by default for poky distros

Joshua Lock josh at linux.intel.com
Wed Aug 31 12:21:47 PDT 2011


On Thu, 2011-08-25 at 10:15 -0700, Joshua Lock wrote:
> Add CONNECTIVITY_CHECK_URIS to run the network connectivity sanity test for
> http, https and git sources.
> 
> The variable is soft-assigned so that it's easily overrideable.
> 
> Signed-off-by: Joshua Lock <josh at linux.intel.com>
> ---
>  meta-yocto/conf/distro/poky.conf |    7 ++++++-
>  1 files changed, 6 insertions(+), 1 deletions(-)
> 
> diff --git a/meta-yocto/conf/distro/poky.conf b/meta-yocto/conf/distro/poky.conf
> index c5fc3b9..46b22f4 100644
> --- a/meta-yocto/conf/distro/poky.conf
> +++ b/meta-yocto/conf/distro/poky.conf
> @@ -54,5 +54,10 @@ ftp://.*/.*      http://autobuilder.yoctoproject.org/sources/ \n \
>  http://.*/.*     http://autobuilder.yoctoproject.org/sources/ \n \
>  https://.*/.*    http://autobuilder.yoctoproject.org/sources/ \n"
>  
> -
> +# The CONNECTIVITY_CHECK_URI's are used to test whether we can succesfully
> +# fetch from the network (and warn you if not). To disable the test set
> +# the variable to be empty.
> +CONNECTIVITY_CHECK_URIS ?= "git://git.yoctoproject.org/yocto-firewall-test;protocol=git;rev=HEAD \
> +                          https://eula-downloads.yoctoproject.org/index.php \
> +                          http://bugzilla.yoctoproject.org/report.cgi"
>  

Any feedback on this patch?

Cheers,
Joshua
-- 
Joshua Lock
        Yocto Project "Johannes factotum"
        Intel Open Source Technology Centre




More information about the yocto mailing list