Add information about using the Yocto Project sstate mirrors to the local.conf
template, enabling using the config fragment.

Signed-off-by: Richard Purdie <[email protected]>
---
 meta/conf/templates/default/local.conf.sample | 10 ++++++++++
 1 file changed, 10 insertions(+)

diff --git a/meta/conf/templates/default/local.conf.sample 
b/meta/conf/templates/default/local.conf.sample
index fb6ed2c3bf2..6947e8e46da 100644
--- a/meta/conf/templates/default/local.conf.sample
+++ b/meta/conf/templates/default/local.conf.sample
@@ -204,6 +204,16 @@ BB_DISKMON_DIRS ??= "\
 #file://.* https://someserver.tld/share/sstate/PATH;downloadfilename=PATH \
 #file://.* file:///some/local/dir/sstate/PATH"
 
+#
+# Yocto Project SState Mirror
+#
+# The Yocto Project has prebuilt artefacts available for its releases, you can 
enable
+# by enabling the following config fragment. This will mean the build uses the 
network to 
+# check for artefacts at the start of builds, which does slow it down 
initially but it 
+# will then speed up the builds by not having to build things if they are 
present in the 
+# cache. It assumes you can download something faster than you can build it 
which will 
+# depend on your network.
+# OE_FRAGMENTS += "core/yocto/sstate-mirror-cdn"
 
 #
 # Qemu configuration
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#233821): 
https://lists.openembedded.org/g/openembedded-core/message/233821
Mute This Topic: https://lists.openembedded.org/mt/118488286/21656
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub 
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to