diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2023-10-10 12:51:33 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2023-10-15 13:59:51 +0100 |
commit | 9dc27f922f7a1eae448b9a0ffa35a85f71e58735 (patch) | |
tree | 66f7351013767f4ca082b0469a4dc580c4528140 /meta-poky | |
parent | ef3e46afd910d4b7727d42c4c18b501525c65695 (diff) | |
download | poky-9dc27f922f7a1eae448b9a0ffa35a85f71e58735.tar.gz |
local.conf.sample: Document new CDN mirror for sstate
We have a Content Delivery Network available for sstate, document
this in local.conf.sample.
(From meta-yocto rev: 2b2c68717e05f9e644930f576f5197d673b9cef5)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta-poky')
-rw-r--r-- | meta-poky/conf/templates/default/local.conf.sample | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/meta-poky/conf/templates/default/local.conf.sample b/meta-poky/conf/templates/default/local.conf.sample index f9cb8aa77d..44b851b9dd 100644 --- a/meta-poky/conf/templates/default/local.conf.sample +++ b/meta-poky/conf/templates/default/local.conf.sample | |||
@@ -228,15 +228,21 @@ BB_DISKMON_DIRS ??= "\ | |||
228 | # Yocto Project SState Mirror | 228 | # Yocto Project SState Mirror |
229 | # | 229 | # |
230 | # The Yocto Project has prebuilt artefacts available for its releases, you can enable | 230 | # The Yocto Project has prebuilt artefacts available for its releases, you can enable |
231 | # use of these by uncommenting the following lines. This will mean the build uses | 231 | # use of these by uncommenting some of the following lines. This will mean the build uses |
232 | # the network to check for artefacts at the start of builds, which does slow it down | 232 | # the network to check for artefacts at the start of builds, which does slow it down |
233 | # equally, it will also speed up the builds by not having to build things if they are | 233 | # initially but it will then speed up the builds by not having to build things if they are |
234 | # present in the cache. It assumes you can download something faster than you can build it | 234 | # present in the cache. It assumes you can download something faster than you can build it |
235 | # which will depend on your network. | 235 | # which will depend on your network. |
236 | # Note: For this to work you also need hash-equivalence passthrough to the matching server | 236 | # Note: For this to work you also need hash-equivalence passthrough to the matching server |
237 | # There is a choice between our sstate server directly and a faster content delivery network | ||
238 | # (CDN) kindly provided by JSDelivr, uncomment one of the SSTATE_MIRRORS lines, not both. | ||
239 | # Using the CDN rather than the yoctoproject.org address is suggested/preferred. | ||
237 | # | 240 | # |
238 | #BB_HASHSERVE_UPSTREAM = "hashserv.yocto.io:8687" | 241 | #BB_HASHSERVE_UPSTREAM = "hashserv.yocto.io:8687" |
239 | #SSTATE_MIRRORS ?= "file://.* http://sstate.yoctoproject.org/all/PATH;downloadfilename=PATH" | 242 | #SSTATE_MIRRORS ?= "file://.* http://cdn.jsdelivr.net/yocto/sstate/all/PATH;downloadfilename=PATH" |
243 | # | ||
244 | ###SSTATE_MIRRORS ?= "file://.* http://sstate.yoctoproject.org/all/PATH;downloadfilename=PATH" | ||
245 | |||
240 | 246 | ||
241 | # | 247 | # |
242 | # Qemu configuration | 248 | # Qemu configuration |