default-distrovars.inc: Switch connectivity check to a yoctoproject.org page

Message ID 20220211174613.2732343-1-richard.purdie@linuxfoundation.org
State Accepted, archived
Commit dc6b043cb75c5751b5a98afd2201aa31f9b4b9f6
Headers show
Series default-distrovars.inc: Switch connectivity check to a yoctoproject.org page | expand

Commit Message

Richard Purdie Feb. 11, 2022, 5:46 p.m. UTC
example.com is proving unreliable at present so switch to our own connectivity
page instead. That page is very simple avoiding app overhead on our web server
which was an original reason for switching to example.com.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
---
 meta/classes/sanity.bbclass                     | 2 +-
 meta/conf/distro/include/default-distrovars.inc | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

Comments

Ross Burton Feb. 11, 2022, 7:27 p.m. UTC | #1
+1

On Fri, 11 Feb 2022 at 17:46, Richard Purdie
<richard.purdie@linuxfoundation.org> wrote:
>
> example.com is proving unreliable at present so switch to our own connectivity
> page instead. That page is very simple avoiding app overhead on our web server
> which was an original reason for switching to example.com.
>
> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
> ---
>  meta/classes/sanity.bbclass                     | 2 +-
>  meta/conf/distro/include/default-distrovars.inc | 2 +-
>  2 files changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/meta/classes/sanity.bbclass b/meta/classes/sanity.bbclass
> index f288b4c84c9..773902e619d 100644
> --- a/meta/classes/sanity.bbclass
> +++ b/meta/classes/sanity.bbclass
> @@ -353,7 +353,7 @@ def check_connectivity(d):
>                  msg += "    Please ensure your host's network is configured correctly.\n"
>                  msg += "    If your ISP or network is blocking the above URL,\n"
>                  msg += "    try with another domain name, for example by setting:\n"
> -                msg += "    CONNECTIVITY_CHECK_URIS = \"https://www.yoctoproject.org/\""
> +                msg += "    CONNECTIVITY_CHECK_URIS = \"https://www.example.com/\""
>                  msg += "    You could also set BB_NO_NETWORK = \"1\" to disable network\n"
>                  msg += "    access if all required sources are on local disk.\n"
>              retval = msg
> diff --git a/meta/conf/distro/include/default-distrovars.inc b/meta/conf/distro/include/default-distrovars.inc
> index fb0f1097da9..3bba651a776 100644
> --- a/meta/conf/distro/include/default-distrovars.inc
> +++ b/meta/conf/distro/include/default-distrovars.inc
> @@ -54,4 +54,4 @@ KERNEL_IMAGETYPES ??= "${KERNEL_IMAGETYPE}"
>  # fetch from the network (and warn you if not). To disable the test set
>  # the variable to be empty.
>  # Git example url: git://git.yoctoproject.org/yocto-firewall-test;protocol=git;rev=master;branch=master
> -CONNECTIVITY_CHECK_URIS ?= "https://www.example.com/"
> +CONNECTIVITY_CHECK_URIS ?= "https://yoctoproject.org/connectivity.html"
> --
> 2.32.0
>
>
> -=-=-=-=-=-=-=-=-=-=-=-
> Links: You receive all messages sent to this group.
> View/Reply Online (#161661): https://lists.openembedded.org/g/openembedded-core/message/161661
> Mute This Topic: https://lists.openembedded.org/mt/89077055/1676615
> Group Owner: openembedded-core+owner@lists.openembedded.org
> Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [ross@burtonini.com]
> -=-=-=-=-=-=-=-=-=-=-=-
>
Jacob Kroon Feb. 11, 2022, 7:36 p.m. UTC | #2
fwiw, +1 from me too

On 2/11/22 20:27, Ross Burton wrote:
> +1
> 
> On Fri, 11 Feb 2022 at 17:46, Richard Purdie
> <richard.purdie@linuxfoundation.org> wrote:
>>
>> example.com is proving unreliable at present so switch to our own connectivity
>> page instead. That page is very simple avoiding app overhead on our web server
>> which was an original reason for switching to example.com.
>>
>> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
>> ---
>>  meta/classes/sanity.bbclass                     | 2 +-
>>  meta/conf/distro/include/default-distrovars.inc | 2 +-
>>  2 files changed, 2 insertions(+), 2 deletions(-)
>>
>> diff --git a/meta/classes/sanity.bbclass b/meta/classes/sanity.bbclass
>> index f288b4c84c9..773902e619d 100644
>> --- a/meta/classes/sanity.bbclass
>> +++ b/meta/classes/sanity.bbclass
>> @@ -353,7 +353,7 @@ def check_connectivity(d):
>>                  msg += "    Please ensure your host's network is configured correctly.\n"
>>                  msg += "    If your ISP or network is blocking the above URL,\n"
>>                  msg += "    try with another domain name, for example by setting:\n"
>> -                msg += "    CONNECTIVITY_CHECK_URIS = \"https://www.yoctoproject.org/\""
>> +                msg += "    CONNECTIVITY_CHECK_URIS = \"https://www.example.com/\""
>>                  msg += "    You could also set BB_NO_NETWORK = \"1\" to disable network\n"
>>                  msg += "    access if all required sources are on local disk.\n"
>>              retval = msg
>> diff --git a/meta/conf/distro/include/default-distrovars.inc b/meta/conf/distro/include/default-distrovars.inc
>> index fb0f1097da9..3bba651a776 100644
>> --- a/meta/conf/distro/include/default-distrovars.inc
>> +++ b/meta/conf/distro/include/default-distrovars.inc
>> @@ -54,4 +54,4 @@ KERNEL_IMAGETYPES ??= "${KERNEL_IMAGETYPE}"
>>  # fetch from the network (and warn you if not). To disable the test set
>>  # the variable to be empty.
>>  # Git example url: git://git.yoctoproject.org/yocto-firewall-test;protocol=git;rev=master;branch=master
>> -CONNECTIVITY_CHECK_URIS ?= "https://www.example.com/"
>> +CONNECTIVITY_CHECK_URIS ?= "https://yoctoproject.org/connectivity.html"
>> --
>> 2.32.0
>>
>>
>>
>>
>>
>>
>> -=-=-=-=-=-=-=-=-=-=-=-
>> Links: You receive all messages sent to this group.
>> View/Reply Online (#161662): https://lists.openembedded.org/g/openembedded-core/message/161662
>> Mute This Topic: https://lists.openembedded.org/mt/89077055/4454410
>> Group Owner: openembedded-core+owner@lists.openembedded.org
>> Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [jacob.kroon@gmail.com]
>> -=-=-=-=-=-=-=-=-=-=-=-
>>

Patch

diff --git a/meta/classes/sanity.bbclass b/meta/classes/sanity.bbclass
index f288b4c84c9..773902e619d 100644
--- a/meta/classes/sanity.bbclass
+++ b/meta/classes/sanity.bbclass
@@ -353,7 +353,7 @@  def check_connectivity(d):
                 msg += "    Please ensure your host's network is configured correctly.\n"
                 msg += "    If your ISP or network is blocking the above URL,\n"
                 msg += "    try with another domain name, for example by setting:\n"
-                msg += "    CONNECTIVITY_CHECK_URIS = \"https://www.yoctoproject.org/\""
+                msg += "    CONNECTIVITY_CHECK_URIS = \"https://www.example.com/\""
                 msg += "    You could also set BB_NO_NETWORK = \"1\" to disable network\n"
                 msg += "    access if all required sources are on local disk.\n"
             retval = msg
diff --git a/meta/conf/distro/include/default-distrovars.inc b/meta/conf/distro/include/default-distrovars.inc
index fb0f1097da9..3bba651a776 100644
--- a/meta/conf/distro/include/default-distrovars.inc
+++ b/meta/conf/distro/include/default-distrovars.inc
@@ -54,4 +54,4 @@  KERNEL_IMAGETYPES ??= "${KERNEL_IMAGETYPE}"
 # fetch from the network (and warn you if not). To disable the test set
 # the variable to be empty.
 # Git example url: git://git.yoctoproject.org/yocto-firewall-test;protocol=git;rev=master;branch=master
-CONNECTIVITY_CHECK_URIS ?= "https://www.example.com/"
+CONNECTIVITY_CHECK_URIS ?= "https://yoctoproject.org/connectivity.html"