All of lore.kernel.org
 help / color / mirror / Atom feed
From: Darren Hart <dvhart@linux.intel.com>
To: Joshua Lock <josh@linux.intel.com>
Cc: yocto@yoctoproject.org
Subject: Re: [PATCH 1/1] local.conf.sample: add CONNECTIVITY_CHECK_URIS
Date: Wed, 13 Jul 2011 10:28:24 -0700	[thread overview]
Message-ID: <4E1DD5B8.1010406@linux.intel.com> (raw)
In-Reply-To: <b8158bd7aceae1fd2ade1ec15c9f508b9aeebfa0.1310524088.git.josh@linux.intel.com>



On 07/12/2011 07:32 PM, Joshua Lock wrote:
> Add CONNECTIVITY_CHECK_URIS to run the network connectivity sanity test for
> http, https and git sources.
> 
> Signed-off-by: Joshua Lock <josh@linux.intel.com>
> ---
>  meta-yocto/conf/local.conf.sample |    8 ++++++++
>  1 files changed, 8 insertions(+), 0 deletions(-)
> 
> diff --git a/meta-yocto/conf/local.conf.sample b/meta-yocto/conf/local.conf.sample
> index ea32b81..fb20f2c 100644
> --- a/meta-yocto/conf/local.conf.sample
> +++ b/meta-yocto/conf/local.conf.sample
> @@ -214,3 +214,11 @@ NO32LIBS = "1"
>  # The network based PR service host and port
>  #PRSERV_HOST = "localhost"
>  #PRSERV_PORT = "8585"
> +
> +# Use the following URI's to test whether we can succesfully fetch from the
> +# network (and warn you if not). This test will be run each time a new build
> +# directory is specfied, if you wish to disable it delete or comment out the
> +# following few lines that define CONNECTIVITY_CHECK_URIS.
> +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"


Would this not be better in a distro config file? conf/distro/poky.conf
comes to mind.

Josh pointed out that the lsb variant would then miss out - so perhaps a
network-sanity.inc file could be included by each distro defined in a
layer. It doesn't make sense in layer.conf as multiple layers can be
used - but as I understand it, only a single distro is built at a time?

I like the idea of it working by default without any requirements on
local.conf. The user could override this variable in local.conf if they
want, but I don't think it should be required to be there for the checks
to work.

-- 
Darren Hart
Intel Open Source Technology Center
Yocto Project - Linux Kernel


  reply	other threads:[~2011-07-13 17:28 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-07-13  2:32 [PATCH 0/1] Enable network sanity checks Joshua Lock
2011-07-13  2:32 ` [PATCH 1/1] local.conf.sample: add CONNECTIVITY_CHECK_URIS Joshua Lock
2011-07-13 17:28   ` Darren Hart [this message]
2011-07-13 17:46     ` Joshua Lock

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4E1DD5B8.1010406@linux.intel.com \
    --to=dvhart@linux.intel.com \
    --cc=josh@linux.intel.com \
    --cc=yocto@yoctoproject.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.