[poky] Default network connectivity sanity tests
Richard Purdie
richard.purdie at linuxfoundation.org
Thu Sep 13 10:50:49 PDT 2012
Currently the poky distro config tests for three different kinds of
network connectivity:
# 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"
So this tests http, https and git. The theory goes that the project
mirrors should be a) preferred and b) be up to date in most cases so
that you'd only ever usually need http:// to run a build successfully.
There are some "windows of opportunity" when building from master where
this might not be true, for example, a kernel update has just been
pushed and the mirrors have not updated to the latest code. In this
scenario, bitbake would pull the mirror tarball, then updated it using
the git protocol.
I'm getting continued complaints that git is horrible to proxy behind
firewalls and this check continues to cause pain for people when in fact
the builds would probably work. These complains go so far as to say
we're ruining the reputation of the project by having this as people
leave after an initial bad experience. I'm reaching the point where I
become tempted to remove it.
Opinions?
One other option would be to remove it on release branches. Those should
be more stable and therefore shouldn't need this kind of check...
Cheers,
Richard
More information about the poky
mailing list