diff mbox series

conf/templates/default/local.conf.sample: Document yocto project sstate mirrors

Message ID 20260324180034.3456047-1-richard.purdie@linuxfoundation.org
State Under Review
Headers show
Series conf/templates/default/local.conf.sample: Document yocto project sstate mirrors | expand

Commit Message

Richard Purdie March 24, 2026, 6 p.m. UTC
Add information about using the Yocto Project sstate mirrors to the local.conf
template, enabling using the config fragment.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
---
 meta/conf/templates/default/local.conf.sample | 10 ++++++++++
 1 file changed, 10 insertions(+)
diff mbox series

Patch

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