Skip to contentSkip to conversation

default-distrovars.inc: Switch to the canonical website domain

PATCH In review Michael Halstead 3 participants 4 messages Aug 28, 2025

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 default-distrovars.inc: Switch to the canonical website domain

yoctoproject.org redirects to www.yoctoproject.org. Switching to the true domain we avoid an unnessary redirect and avoid certifcate errors on a default Debian 11 installation.

---
 meta/conf/distro/include/default-distrovars.inc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
meta/conf/distro/include/default-distrovars.inc +1 -1
index 9ea3b5414c..bbd936efa6 100644
@@ -63,4 +63,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://yoctoproject.org/connectivity.html"
+CONNECTIVITY_CHECK_URIS ?= "https://www.yoctoproject.org/connectivity.html"
Signature · 1 line
2.51.0
#1 lore raw
Quoted 14 lines · Michael Halstead via lists.openembedded.org

yoctoproject.org redirects to www.yoctoproject.org. Switching to the true domain we avoid an unnessary redirect and avoid certifcate errors on a default Debian 11 installation.

---
 meta/conf/distro/include/default-distrovars.inc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
meta/conf/distro/include/default-distrovars.inc +0 -0
index 9ea3b5414c..bbd936efa6 100644

meta/conf/distro/include/default-distrovars.inc KERNEL_IMAGETYPES ??= "${KERNEL_IMAGETYPE}" · line 66

Quoted 5 lines
meta/conf/distro/include/default-distrovars.inc +1 -1
@@ -63,4 +63,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://yoctoproject.org/connectivity.html"
+CONNECTIVITY_CHECK_URIS ?= "https://www.yoctoproject.org/connectivity.html"

Hi Michael,

Thanks!

Can I ask you to modify also the URLs in the test cases? We have two occurrences in meta/lib/oeqa/buildtools/cases/https.py.

Best regards,
Mathieu

Signature · 3 lines
Mathieu Dubois-Briand, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com
#2 lore raw
Quoted 26 lines · Mathieu Dubois-Briand via lists.openembedded.org

Review

Quoted 10 lines · Michael Halstead via lists.openembedded.org

yoctoproject.org redirects to www.yoctoproject.org. Switching to the true domain we avoid an unnessary redirect and avoid certifcate errors on a default Debian 11 installation.

---
 meta/conf/distro/include/default-distrovars.inc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
(quoted diff) +0 -0

b/meta/conf/distro/include/default-distrovars.inc

meta/conf/distro/include/default-distrovars.inc KERNEL_IMAGETYPES ??= "${KERNEL_IMAGETYPE}" · line 65

Quoted 7 lines

index 9ea3b5414c..bbd936efa6 100644

meta/conf/distro/include/default-distrovars.inc +0 -0
@@ -63,4 +63,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

meta/conf/distro/include/default-distrovars.inc KERNEL_IMAGETYPES ??= "${KERNEL_IMAGETYPE}" · line 66

Quoted 2 lines
meta/conf/distro/include/default-distrovars.inc +1 -1
-CONNECTIVITY_CHECK_URIS ?= "https://yoctoproject.org/connectivity.html"
+CONNECTIVITY_CHECK_URIS ?= "

https://www.yoctoproject.org/connectivity.html"

Quoted 7 lines

Hi Michael,

Thanks!

Can I ask you to modify also the URLs in the test cases? We have two occurrences in meta/lib/oeqa/buildtools/cases/https.py.

Related: https://lists.openembedded.org/g/openembedded-core/message/222559
Same patch which does seem to do what Mathieu is asking for.

Quoted 22 lines

Best regards,
Mathieu

--
Mathieu Dubois-Briand, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group. View/Reply Online (#222563):
https://lists.openembedded.org/g/openembedded-core/message/222563
Mute This Topic: https://lists.openembedded.org/mt/114932649/4316185
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [ [email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Signature · 2 lines
Yoann Congal
Smile ECS
#3 lore raw

It's probably best to take Deepak Rathore's patch instead. Avoiding redirects on a connectivity check is a good idea in general.

I want to follow up and describe the specific issue that cropped up on the autobuilder for history's sake. Our redirection service switched from using ISRG Root X1 to ISRG Root X2 yesterday. This is less compatible but more efficient (https://letsencrypt.org/certificates/).
ISRG Root X2 is not in ca-certificates (20230311) which is the current package on Debian 11 bookworm and is not likely to change. It also appears AlmaLinux 8 was unable to connect after the change.

Quoted 60 lines · Yoann Congal
Quoted 25 lines · Mathieu Dubois-Briand via lists.openembedded.org
Quoted 14 lines · Michael Halstead via lists.openembedded.org

yoctoproject.org redirects to www.yoctoproject.org. Switching to the true domain we avoid an unnessary redirect and avoid certifcate errors on a default Debian 11 installation.

---
 meta/conf/distro/include/default-distrovars.inc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
meta/conf/distro/include/default-distrovars.inc +0 -0
index 9ea3b5414c..bbd936efa6 100644

meta/conf/distro/include/default-distrovars.inc KERNEL_IMAGETYPES ??= "${KERNEL_IMAGETYPE}" · line 66

Quoted 5 lines
meta/conf/distro/include/default-distrovars.inc +1 -1
@@ -63,4 +63,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://yoctoproject.org/connectivity.html"
+CONNECTIVITY_CHECK_URIS ?= "https://www.yoctoproject.org/connectivity.html"

Hi Michael,

Quoted 4 lines

Thanks!

Can I ask you to modify also the URLs in the test cases? We have two occurrences in meta/lib/oeqa/buildtools/cases/https.py.

Related: https://lists.openembedded.org/g/openembedded-core/message/222559
Same patch which does seem to do what Mathieu is asking for.

Quoted 12 lines

Best regards,
Mathieu

--
Mathieu Dubois-Briand, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com

Quoted 8 lines

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#222563): https://lists.openembedded.org/g/openembedded-core/message/222563
Mute This Topic: https://lists.openembedded.org/mt/114932649/4316185
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Quoted 3 lines

--
Yoann Congal
Smile ECS

--
Michael Halstead
Linux Foundation / Yocto Project
Systems Operations Engineer