Skip to contentSkip to conversation

local.conf.sample: use https instead of http for SSTATE_MIRRORS

PATCH In review Michael Opdenacker 2 participants 4 messages Jan 26, 2022 – Jan 27, 2022 1 message not in the archive

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

#1 lore raw

PATCH v2 1/1 local.conf.sample: use https instead of http for SSTATE_MIRRORS

Both http and https work, but we should get fewer questions with https

---
 meta-poky/conf/local.conf.sample | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
meta-poky/conf/local.conf.sample +3 -3
index 7bdbba0..3100eb1 100644
@@ -206,7 +206,7 @@ BB_DISKMON_DIRS ??= "\
 # used to accelerate build time. This variable can be used to configure the system
 # to search other mirror locations for these objects before it builds the data itself.
 #
-# This can be a filesystem directory, or a remote url such as http or ftp. These
+# This can be a filesystem directory, or a remote url such as https or ftp. These
 # would contain the sstate-cache results from previous builds (possibly from other
 # machines). This variable works like fetcher MIRRORS/PREMIRRORS and points to the
 # cache locations to check for the shared objects.
@@ -214,7 +214,7 @@ BB_DISKMON_DIRS ??= "\
 # at the end as shown in the examples below. This will be substituted with the
 # correct path within the directory structure.
 #SSTATE_MIRRORS ?= "\
-#file://.* http://someserver.tld/share/sstate/PATH;downloadfilename=PATH \n \
+#file://.* https://someserver.tld/share/sstate/PATH;downloadfilename=PATH \n \
 #file://.* file:///some/local/dir/sstate/PATH"
 
 #
@@ -229,7 +229,7 @@ BB_DISKMON_DIRS ??= "\
 # Note: For this to work you also need hash-equivalence passthrough to the matching server
 #
 #BB_HASHSERVE_UPSTREAM = "typhoon.yocto.io:8687"
-#SSTATE_MIRRORS ?= "file://.* http://sstate.yoctoproject.org/3.4/PATH;downloadfilename=PATH"
+#SSTATE_MIRRORS ?= "file://.* https://sstate.yoctoproject.org/3.4/PATH;downloadfilename=PATH"
 
 #
 # Qemu configuration
Signature · 1 line
2.25.1
#2 lore raw
Quoted 29 lines

-----Original Message-----
From: [email protected] <[email protected]> On Behalf Of Michael Opdenacker
Sent: den 26 januari 2022 11:44
To: [email protected]
Cc: Michael Opdenacker <[email protected]>
Subject: [poky] [PATCH v2] local.conf.sample: use https instead of http for SSTATE_MIRRORS

Both http and https work, but we should get fewer questions with https

---
 meta-poky/conf/local.conf.sample | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
meta-poky/conf/local.conf.sample +1 -1
index 7bdbba0..3100eb1 100644
@@ -206,7 +206,7 @@ BB_DISKMON_DIRS ??= "\
 # used to accelerate build time. This variable can be used to configure the system
 # to search other mirror locations for these objects before it builds the data itself.
 #
-# This can be a filesystem directory, or a remote url such as http or ftp. These
+# This can be a filesystem directory, or a remote url such as https or ftp. These
 # would contain the sstate-cache results from previous builds (possibly from other
 # machines). This variable works like fetcher MIRRORS/PREMIRRORS and points to the
 # cache locations to check for the shared objects.

meta-poky/conf/local.conf.sample BB_DISKMON_DIRS ??= "\ · line 217

Quoted 5 lines
meta-poky/conf/local.conf.sample +1 -1
@@ -214,7 +214,7 @@ BB_DISKMON_DIRS ??= "\
 # at the end as shown in the examples below. This will be substituted with the
 # correct path within the directory structure.
 #SSTATE_MIRRORS ?= "\
-#file://.* http://someserver.tld/share/sstate/PATH;downloadfilename=PATH \n \
+#file://.* https://someserver.tld/share/sstate/PATH;downloadfilename=PATH \n \

While there, you may as well remove the "\n".

Quoted 13 lines
meta-poky/conf/local.conf.sample +1 -2
 #file://.* file:///some/local/dir/sstate/PATH"
 
 #
@@ -229,7 +229,7 @@ BB_DISKMON_DIRS ??= "\
 # Note: For this to work you also need hash-equivalence passthrough to the matching server
 #
 #BB_HASHSERVE_UPSTREAM = "typhoon.yocto.io:8687"
-#SSTATE_MIRRORS ?= "file://.* http://sstate.yoctoproject.org/3.4/PATH;downloadfilename=PATH"
+#SSTATE_MIRRORS ?= "file://.* https://sstate.yoctoproject.org/3.4/PATH;downloadfilename=PATH"
 
 #
 # Qemu configuration
--
Quoted 1 line

2.25.1

//Peter

#3 lore raw

Hi Peter,

Thank you very much for the review!

Quoted 27 lines · Peter Kjellerstedt
Quoted 27 lines

-----Original Message-----
From: [email protected] <[email protected]> On Behalf Of Michael Opdenacker
Sent: den 26 januari 2022 11:44
To: [email protected]
Cc: Michael Opdenacker <[email protected]>
Subject: [poky] [PATCH v2] local.conf.sample: use https instead of http for SSTATE_MIRRORS

Both http and https work, but we should get fewer questions with https

---
 meta-poky/conf/local.conf.sample | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
meta-poky/conf/local.conf.sample +1 -1
index 7bdbba0..3100eb1 100644
@@ -206,7 +206,7 @@ BB_DISKMON_DIRS ??= "\
 # used to accelerate build time. This variable can be used to configure the system
 # to search other mirror locations for these objects before it builds the data itself.
 #
-# This can be a filesystem directory, or a remote url such as http or ftp. These
+# This can be a filesystem directory, or a remote url such as https or ftp. These
 # would contain the sstate-cache results from previous builds (possibly from other
 # machines). This variable works like fetcher MIRRORS/PREMIRRORS and points to the
Quoted 8 lines

meta-poky/conf/local.conf.sample BB_DISKMON_DIRS ??= "\ · line 217

Quoted 7 lines
meta-poky/conf/local.conf.sample +1 -1
 # cache locations to check for the shared objects.
@@ -214,7 +214,7 @@ BB_DISKMON_DIRS ??= "\
 # at the end as shown in the examples below. This will be substituted with the
 # correct path within the directory structure.
 #SSTATE_MIRRORS ?= "\
-#file://.* http://someserver.tld/share/sstate/PATH;downloadfilename=PATH \n \
+#file://.* https://someserver.tld/share/sstate/PATH;downloadfilename=PATH \n \

While there, you may as well remove the "\n".

Good idea. We already did that in other places.
However, shouldn't it be a separate commit? I can read Quentin's lips ;-) Cheers
Michael.

Signature · 3 lines
Michael Opdenacker, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com
#4 lore raw
Quoted 50 lines

-----Original Message-----
From: Michael Opdenacker <[email protected]>
Sent: den 27 januari 2022 17:11
To: Peter Kjellerstedt <[email protected]>; [email protected]
Subject: Re: [poky] [PATCH v2] local.conf.sample: use https instead of http for SSTATE_MIRRORS

Hi Peter,

Thank you very much for the review!

Quoted 28 lines · Peter Kjellerstedt
Quoted 28 lines

-----Original Message-----
From: [email protected] <[email protected]> On Behalf Of Michael Opdenacker
Sent: den 26 januari 2022 11:44
To: [email protected]
Cc: Michael Opdenacker <[email protected]>
Subject: [poky] [PATCH v2] local.conf.sample: use https instead of http for SSTATE_MIRRORS

Both http and https work, but we should get fewer questions with https

---
 meta-poky/conf/local.conf.sample | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
meta-poky/conf/local.conf.sample +1 -1
index 7bdbba0..3100eb1 100644
@@ -206,7 +206,7 @@ BB_DISKMON_DIRS ??= "\
 # used to accelerate build time. This variable can be used to configure the system
 # to search other mirror locations for these objects before it builds the data itself.
 #
-# This can be a filesystem directory, or a remote url such as http or ftp. These
+# This can be a filesystem directory, or a remote url such as https or ftp. These
 # would contain the sstate-cache results from previous builds (possibly from other
 # machines). This variable works like fetcher MIRRORS/PREMIRRORS and points to the
 # cache locations to check for the shared objects.
Quoted 8 lines

meta-poky/conf/local.conf.sample BB_DISKMON_DIRS ??= "\ · line 217

Quoted 6 lines
meta-poky/conf/local.conf.sample +1 -1
@@ -214,7 +214,7 @@ BB_DISKMON_DIRS ??= "\
 # at the end as shown in the examples below. This will be substituted with the
 # correct path within the directory structure.
 #SSTATE_MIRRORS ?= "\
-#file://.* http://someserver.tld/share/sstate/PATH;downloadfilename=PATH \n \
+#file://.* https://someserver.tld/share/sstate/PATH;downloadfilename=PATH \n \

While there, you may as well remove the "\n".

Quoted 2 lines

Good idea. We already did that in other places.
However, shouldn't it be a separate commit? I can read Quentin's lips ;-)

True. There are a couple of other places that can be updated as well. I'll send a patch.

Quoted 7 lines

Cheers
Michael.

--
Michael Opdenacker, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com

//Peter