Difference between revisions of "Skip connectivity checks"

From KoanSoftware Wiki
Jump to: navigation, search
(Created page with "== Skip connectivity checks == Sometimes BitBake fails because it can't find https://www.example.com. This URL is used to run the network connectivity sanity test against ht...")
 
(No difference)

Latest revision as of 13:26, 18 December 2019

Skip connectivity checks

Sometimes BitBake fails because it can't find https://www.example.com.

This URL is used to run the network connectivity sanity test against http, https and git sources for Poky derived distributions.

This is the typical error

ERROR:  OE-core's config sanity checker detected a potential misconfiguration.
   Either fix the cause of this error or at your own risk disable the checker (see sanity.conf).
   Following is the list of potential problems / advisories:
   Fetcher failure for URL: 'https://www.example.com/'. URL https://www.example.com/ doesn't work.
   Please ensure your host's network is configured correctly,
   or set BB_NO_NETWORK = "1" to disable network access if
   all required sources are on local disk.

Is it possible to solve this issue adding the following line in local.conf

#skip connectivity checks
CONNECTIVITY_CHECK_URIS = ""

or replacing the default URL using google.com

#check connectivity using google
CONNECTIVITY_CHECK_URIS = "https://www.google.com/"